Skip to content
Documentation/canton-network-docs/Admin APIgRPC APIPackagescom.digitalasset.canton.crypto.admin.v30ServicesVaultServiceView on canton-network-docs
canton-network-docs/Admin APIgRPC APIPackagescom.digitalasset.canton.crypto.admin.v30ServicesVaultService

GenerateEncryptionKey

Shared AdministrationProtobufcom.digitalasset.canton.crypto.admin.v30GenerateEncryptionKey

com.digitalasset.canton.crypto.admin.v30

GenerateEncryptionKey

gRPCSince 3.4.0
RPC/com.digitalasset.canton.crypto.admin.v30.VaultService/GenerateEncryptionKey

Protocol Details

Inputs

GenerateEncryptionKeyRequest

key_specEncryptionKeySpec
namestring

Outputs

GenerateEncryptionKeyResponse

public_keyEncryptionPublicKey

Lifecycle Changes

3.4.0introduced

com.digitalasset.canton.crypto.admin.v30.GenerateEncryptionKeyRequest

key_specEncryptionKeySpec
namestring

com.digitalasset.canton.crypto.admin.v30.GenerateEncryptionKeyResponse

public_keyEncryptionPublicKey
grpcurl
grpcurl
# Add -plaintext if the server is not using TLS.
grpcurl \
  -d @ \
  <HOST:PORT> \
  com.digitalasset.canton.crypto.admin.v30.VaultService/GenerateEncryptionKey <<'EOF'
{
  "keySpec": "string",
  "name": "string"
}
EOF
OKapplication/json
OK
{
  "publicKey": "string"
}