random_bytes
Creates, updates, deletes, gets or lists a random_bytes resource.
Overview
| Name | random_bytes |
| Type | Resource |
| Id | azure.key_vault_keys.random_bytes |
Fields
The following fields are returned by SELECT queries:
- get_random_bytes
| Name | Datatype | Description |
|---|---|---|
value | string (byte) | The bytes encoded as a base64url string. Required. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_random_bytes | select | vault_name | Get the requested number of bytes containing random values. Get the requested number of bytes containing random values from a managed HSM. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
vault_name | string | Key vault name. (default: ) |
SELECT examples
- get_random_bytes
Get the requested number of bytes containing random values. Get the requested number of bytes containing random values from a managed HSM.
SELECT
value
FROM azure.key_vault_keys.random_bytes
WHERE vault_name = '{{ vault_name }}' -- required
;