Redaguoti

Bendrinti naudojant


azdata bdc hdfs key

Applies to: Azure Data CLI (azdata)

The following article provides reference for the sql commands in the azdata tool. For more information about other azdata commands, see azdata reference

Commands

Command Description
azdata bdc hdfs key create Create a HDFS key.
azdata bdc hdfs key list Lists all Hadoop encryption zone keys.
azdata bdc hdfs key roll Roll a HDFS key.
azdata bdc hdfs key describe Shows details of an encryption zone key.

azdata bdc hdfs key create

Create a HDFS key with given name, and given size.

azdata bdc hdfs key create --name -n 
                           [--size -size]

Examples

To create a 256 bit key with name key1, azdata hdfs key create --name key1 --size 256

azdata hdfs key create --name key1 --size 256

Required Parameters

--name -n

Name of the Hadoop encryption zone key.

Optional Parameters

--size -size

Bit length of the Hadoop encryption key, default length is 256. 256

Global Arguments

--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--output -o

Output format. Allowed values: json, jsonc, table, tsv. Default: json.

--query -q

JMESPath query string. See http://jmespath.org/ for more information and examples.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

azdata bdc hdfs key list

Lists all Hadoop encryption zone keys.

azdata bdc hdfs key list 

Examples

List all Hadoop encryption zone keys, azdata bdc hdfs key list

azdata bdc hdfs key list

Global Arguments

--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--output -o

Output format. Allowed values: json, jsonc, table, tsv. Default: json.

--query -q

JMESPath query string. See http://jmespath.org/ for more information and examples.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

azdata bdc hdfs key roll

Roll a HDFS key with given name.

azdata bdc hdfs key roll --name -n 
                         

Examples

To roll a key with name key1, azdata hdfs key roll --name key1.

azdata hdfs key roll --name key1

Required Parameters

--name -n

Name of the encryption zone key to roll to a new version.

Global Arguments

--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--output -o

Output format. Allowed values: json, jsonc, table, tsv. Default: json.

--query -q

JMESPath query string. See http://jmespath.org/ for more information and examples.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

azdata bdc hdfs key describe

Shows details of an encryption zone key.

azdata bdc hdfs key describe --name -n 
                             

Examples

To show the details of a key with name key1.

azdata hdfs key describe --name key1

Required Parameters

--name -n

Name of the encryption zone key to describe.

Global Arguments

--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--output -o

Output format. Allowed values: json, jsonc, table, tsv. Default: json.

--query -q

JMESPath query string. See http://jmespath.org/ for more information and examples.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

Next steps

For more information about other azdata commands, see azdata reference.

For more information about how to install the azdata tool, see Install azdata.