Skip to main content

random_bytes

Creates, updates, deletes, gets or lists a random_bytes resource.

Overview

Namerandom_bytes
TypeResource
Idazure.key_vault_keys.random_bytes

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
valuestring (byte)The bytes encoded as a base64url string. Required.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_random_bytesselectvault_nameGet 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.

NameDatatypeDescription
vault_namestringKey vault name. (default: )

SELECT examples

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
;