Cloud Key Management Service (KMS) API: projects. Manages keys and performs cryptographic operations in a central cloud service, for direct use by other cloud resources and applications.
See: https://cloud.google.com/kms/api/reference/rest/v1/projects
Cloud Key Management Service (KMS) API: projects. Manages keys and performs cryptographic operations in a central cloud service, for direct use by other cloud resources and applications. See: https://cloud.google.com/kms/api/reference/rest/v1/projects
(locations-get$ auth parameters)https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/get
Required parameters: name
Optional parameters: none
Gets information about a location.
https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/get Required parameters: name Optional parameters: none Gets information about a location.
(locations-keyRings-create$ auth parameters body)https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/create
Required parameters: parent
Optional parameters: keyRingId
Body:
{:name string, :createTime string}
Create a new KeyRing in a given Project and Location.
https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/create
Required parameters: parent
Optional parameters: keyRingId
Body:
{:name string, :createTime string}
Create a new KeyRing in a given Project and Location.(locations-keyRings-cryptoKeys-create$ auth parameters body)https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/cryptoKeys/create
Required parameters: parent
Optional parameters: cryptoKeyId, skipInitialVersionCreation
Body:
{:name string, :versionTemplate {:algorithm string, :protectionLevel string}, :purpose string, :nextRotationTime string, :createTime string, :labels {}, :rotationPeriod string, :primary {:algorithm string, :generateTime string, :importFailureReason string, :name string, :importTime string, :createTime string, :state string, :externalProtectionLevelOptions ExternalProtectionLevelOptions, :importJob string, :attestation KeyOperationAttestation, :protectionLevel string, :destroyTime string, :destroyEventTime string}}
Create a new CryptoKey within a KeyRing.
CryptoKey.purpose and CryptoKey.version_template.algorithm are required.
https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/cryptoKeys/create
Required parameters: parent
Optional parameters: cryptoKeyId, skipInitialVersionCreation
Body:
{:name string,
:versionTemplate {:algorithm string, :protectionLevel string},
:purpose string,
:nextRotationTime string,
:createTime string,
:labels {},
:rotationPeriod string,
:primary {:algorithm string,
:generateTime string,
:importFailureReason string,
:name string,
:importTime string,
:createTime string,
:state string,
:externalProtectionLevelOptions ExternalProtectionLevelOptions,
:importJob string,
:attestation KeyOperationAttestation,
:protectionLevel string,
:destroyTime string,
:destroyEventTime string}}
Create a new CryptoKey within a KeyRing.
CryptoKey.purpose and
CryptoKey.version_template.algorithm
are required.(locations-keyRings-cryptoKeys-cryptoKeyVersions-asymmetricDecrypt$ auth
parameters
body)Required parameters: name
Optional parameters: none
Body:
{:ciphertext string}
Decrypts data that was encrypted with a public key retrieved from GetPublicKey corresponding to a CryptoKeyVersion with CryptoKey.purpose ASYMMETRIC_DECRYPT.
https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/cryptoKeys/cryptoKeyVersions/asymmetricDecrypt
Required parameters: name
Optional parameters: none
Body:
{:ciphertext string}
Decrypts data that was encrypted with a public key retrieved from
GetPublicKey corresponding to a CryptoKeyVersion with
CryptoKey.purpose ASYMMETRIC_DECRYPT.(locations-keyRings-cryptoKeys-cryptoKeyVersions-asymmetricSign$ auth
parameters
body)Required parameters: name
Optional parameters: none
Body:
{:digest {:sha512 string, :sha384 string, :sha256 string}}
Signs data using a CryptoKeyVersion with CryptoKey.purpose ASYMMETRIC_SIGN, producing a signature that can be verified with the public key retrieved from GetPublicKey.
https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/cryptoKeys/cryptoKeyVersions/asymmetricSign
Required parameters: name
Optional parameters: none
Body:
{:digest {:sha512 string, :sha384 string, :sha256 string}}
Signs data using a CryptoKeyVersion with CryptoKey.purpose
ASYMMETRIC_SIGN, producing a signature that can be verified with the public
key retrieved from GetPublicKey.(locations-keyRings-cryptoKeys-cryptoKeyVersions-create$ auth parameters body)Required parameters: parent
Optional parameters: none
Body:
{:algorithm string, :generateTime string, :importFailureReason string, :name string, :importTime string, :createTime string, :state string, :externalProtectionLevelOptions {:externalKeyUri string}, :importJob string, :attestation {:format string, :content string}, :protectionLevel string, :destroyTime string, :destroyEventTime string}
Create a new CryptoKeyVersion in a CryptoKey.
The server will assign the next sequential id. If unset, state will be set to ENABLED.
https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/cryptoKeys/cryptoKeyVersions/create
Required parameters: parent
Optional parameters: none
Body:
{:algorithm string,
:generateTime string,
:importFailureReason string,
:name string,
:importTime string,
:createTime string,
:state string,
:externalProtectionLevelOptions {:externalKeyUri string},
:importJob string,
:attestation {:format string, :content string},
:protectionLevel string,
:destroyTime string,
:destroyEventTime string}
Create a new CryptoKeyVersion in a CryptoKey.
The server will assign the next sequential id. If unset,
state will be set to
ENABLED.(locations-keyRings-cryptoKeys-cryptoKeyVersions-destroy$ auth parameters body)Required parameters: name
Optional parameters: none
Body:
{}
Schedule a CryptoKeyVersion for destruction.
Upon calling this method, CryptoKeyVersion.state will be set to DESTROY_SCHEDULED and destroy_time will be set to a time 24 hours in the future, at which point the state will be changed to DESTROYED, and the key material will be irrevocably destroyed.
Before the destroy_time is reached, RestoreCryptoKeyVersion may be called to reverse the process.
https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/cryptoKeys/cryptoKeyVersions/destroy
Required parameters: name
Optional parameters: none
Body:
{}
Schedule a CryptoKeyVersion for destruction.
Upon calling this method, CryptoKeyVersion.state will be set to
DESTROY_SCHEDULED
and destroy_time will be set to a time 24
hours in the future, at which point the state
will be changed to
DESTROYED, and the key
material will be irrevocably destroyed.
Before the destroy_time is reached,
RestoreCryptoKeyVersion may be called to reverse the process.(locations-keyRings-cryptoKeys-cryptoKeyVersions-get$ auth parameters)Required parameters: name
Optional parameters: none
Returns metadata for a given CryptoKeyVersion.
https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/cryptoKeys/cryptoKeyVersions/get Required parameters: name Optional parameters: none Returns metadata for a given CryptoKeyVersion.
(locations-keyRings-cryptoKeys-cryptoKeyVersions-getPublicKey$ auth parameters)Required parameters: name
Optional parameters: none
Returns the public key for the given CryptoKeyVersion. The CryptoKey.purpose must be ASYMMETRIC_SIGN or ASYMMETRIC_DECRYPT.
https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/cryptoKeys/cryptoKeyVersions/getPublicKey Required parameters: name Optional parameters: none Returns the public key for the given CryptoKeyVersion. The CryptoKey.purpose must be ASYMMETRIC_SIGN or ASYMMETRIC_DECRYPT.
(locations-keyRings-cryptoKeys-cryptoKeyVersions-import$ auth parameters body)Required parameters: parent
Optional parameters: none
Body:
{:algorithm string, :rsaAesWrappedKey string, :importJob string}
Imports a new CryptoKeyVersion into an existing CryptoKey using the wrapped key material provided in the request.
The version ID will be assigned the next sequential id within the CryptoKey.
https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/cryptoKeys/cryptoKeyVersions/import
Required parameters: parent
Optional parameters: none
Body:
{:algorithm string, :rsaAesWrappedKey string, :importJob string}
Imports a new CryptoKeyVersion into an existing CryptoKey using the
wrapped key material provided in the request.
The version ID will be assigned the next sequential id within the
CryptoKey.(locations-keyRings-cryptoKeys-cryptoKeyVersions-list$ auth parameters)Required parameters: parent
Optional parameters: filter, pageToken, pageSize, view, orderBy
Lists CryptoKeyVersions.
https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/cryptoKeys/cryptoKeyVersions/list Required parameters: parent Optional parameters: filter, pageToken, pageSize, view, orderBy Lists CryptoKeyVersions.
(locations-keyRings-cryptoKeys-cryptoKeyVersions-patch$ auth parameters body)Required parameters: name
Optional parameters: updateMask
Body:
{:algorithm string, :generateTime string, :importFailureReason string, :name string, :importTime string, :createTime string, :state string, :externalProtectionLevelOptions {:externalKeyUri string}, :importJob string, :attestation {:format string, :content string}, :protectionLevel string, :destroyTime string, :destroyEventTime string}
Update a CryptoKeyVersion's metadata.
state may be changed between ENABLED and DISABLED using this method. See DestroyCryptoKeyVersion and RestoreCryptoKeyVersion to move between other states.
https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/cryptoKeys/cryptoKeyVersions/patch
Required parameters: name
Optional parameters: updateMask
Body:
{:algorithm string,
:generateTime string,
:importFailureReason string,
:name string,
:importTime string,
:createTime string,
:state string,
:externalProtectionLevelOptions {:externalKeyUri string},
:importJob string,
:attestation {:format string, :content string},
:protectionLevel string,
:destroyTime string,
:destroyEventTime string}
Update a CryptoKeyVersion's metadata.
state may be changed between
ENABLED and
DISABLED using this
method. See DestroyCryptoKeyVersion and RestoreCryptoKeyVersion to
move between other states.(locations-keyRings-cryptoKeys-cryptoKeyVersions-restore$ auth parameters body)Required parameters: name
Optional parameters: none
Body:
{}
Restore a CryptoKeyVersion in the DESTROY_SCHEDULED state.
Upon restoration of the CryptoKeyVersion, state will be set to DISABLED, and destroy_time will be cleared.
https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/cryptoKeys/cryptoKeyVersions/restore
Required parameters: name
Optional parameters: none
Body:
{}
Restore a CryptoKeyVersion in the
DESTROY_SCHEDULED
state.
Upon restoration of the CryptoKeyVersion, state
will be set to DISABLED,
and destroy_time will be cleared.(locations-keyRings-cryptoKeys-decrypt$ auth parameters body)https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/cryptoKeys/decrypt
Required parameters: name
Optional parameters: none
Body:
{:ciphertext string, :additionalAuthenticatedData string}
Decrypts data that was protected by Encrypt. The CryptoKey.purpose must be ENCRYPT_DECRYPT.
https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/cryptoKeys/decrypt
Required parameters: name
Optional parameters: none
Body:
{:ciphertext string, :additionalAuthenticatedData string}
Decrypts data that was protected by Encrypt. The CryptoKey.purpose
must be ENCRYPT_DECRYPT.(locations-keyRings-cryptoKeys-encrypt$ auth parameters body)https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/cryptoKeys/encrypt
Required parameters: name
Optional parameters: none
Body:
{:additionalAuthenticatedData string, :plaintext string}
Encrypts data, so that it can only be recovered by a call to Decrypt. The CryptoKey.purpose must be ENCRYPT_DECRYPT.
https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/cryptoKeys/encrypt
Required parameters: name
Optional parameters: none
Body:
{:additionalAuthenticatedData string, :plaintext string}
Encrypts data, so that it can only be recovered by a call to Decrypt.
The CryptoKey.purpose must be
ENCRYPT_DECRYPT.(locations-keyRings-cryptoKeys-get$ auth parameters)https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/cryptoKeys/get
Required parameters: name
Optional parameters: none
Returns metadata for a given CryptoKey, as well as its primary CryptoKeyVersion.
https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/cryptoKeys/get Required parameters: name Optional parameters: none Returns metadata for a given CryptoKey, as well as its primary CryptoKeyVersion.
(locations-keyRings-cryptoKeys-getIamPolicy$ auth parameters)Required parameters: resource
Optional parameters: options.requestedPolicyVersion
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/cryptoKeys/getIamPolicy Required parameters: resource Optional parameters: options.requestedPolicyVersion Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
(locations-keyRings-cryptoKeys-list$ auth parameters)https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/cryptoKeys/list
Required parameters: parent
Optional parameters: pageToken, pageSize, orderBy, versionView, filter
Lists CryptoKeys.
https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/cryptoKeys/list Required parameters: parent Optional parameters: pageToken, pageSize, orderBy, versionView, filter Lists CryptoKeys.
(locations-keyRings-cryptoKeys-patch$ auth parameters body)https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/cryptoKeys/patch
Required parameters: name
Optional parameters: updateMask
Body:
{:name string, :versionTemplate {:algorithm string, :protectionLevel string}, :purpose string, :nextRotationTime string, :createTime string, :labels {}, :rotationPeriod string, :primary {:algorithm string, :generateTime string, :importFailureReason string, :name string, :importTime string, :createTime string, :state string, :externalProtectionLevelOptions ExternalProtectionLevelOptions, :importJob string, :attestation KeyOperationAttestation, :protectionLevel string, :destroyTime string, :destroyEventTime string}}
Update a CryptoKey.
https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/cryptoKeys/patch
Required parameters: name
Optional parameters: updateMask
Body:
{:name string,
:versionTemplate {:algorithm string, :protectionLevel string},
:purpose string,
:nextRotationTime string,
:createTime string,
:labels {},
:rotationPeriod string,
:primary {:algorithm string,
:generateTime string,
:importFailureReason string,
:name string,
:importTime string,
:createTime string,
:state string,
:externalProtectionLevelOptions ExternalProtectionLevelOptions,
:importJob string,
:attestation KeyOperationAttestation,
:protectionLevel string,
:destroyTime string,
:destroyEventTime string}}
Update a CryptoKey.(locations-keyRings-cryptoKeys-setIamPolicy$ auth parameters body)Required parameters: resource
Optional parameters: none
Body:
{:policy {:etag string, :version integer, :auditConfigs [AuditConfig], :bindings [Binding]}, :updateMask string}
Sets the access control policy on the specified resource. Replaces any existing policy.
Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED
https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/cryptoKeys/setIamPolicy
Required parameters: resource
Optional parameters: none
Body:
{:policy {:etag string,
:version integer,
:auditConfigs [AuditConfig],
:bindings [Binding]},
:updateMask string}
Sets the access control policy on the specified resource. Replaces any
existing policy.
Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED(locations-keyRings-cryptoKeys-testIamPermissions$ auth parameters body)Required parameters: resource
Optional parameters: none
Body:
{:permissions [string]}
Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.
Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.
https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/cryptoKeys/testIamPermissions
Required parameters: resource
Optional parameters: none
Body:
{:permissions [string]}
Returns permissions that a caller has on the specified resource.
If the resource does not exist, this will return an empty set of
permissions, not a NOT_FOUND error.
Note: This operation is designed to be used for building permission-aware
UIs and command-line tools, not for authorization checking. This operation
may "fail open" without warning.(locations-keyRings-cryptoKeys-updatePrimaryVersion$ auth parameters body)Required parameters: name
Optional parameters: none
Body:
{:cryptoKeyVersionId string}
Update the version of a CryptoKey that will be used in Encrypt.
Returns an error if called on an asymmetric key.
https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/cryptoKeys/updatePrimaryVersion
Required parameters: name
Optional parameters: none
Body:
{:cryptoKeyVersionId string}
Update the version of a CryptoKey that will be used in Encrypt.
Returns an error if called on an asymmetric key.(locations-keyRings-get$ auth parameters)https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/get
Required parameters: name
Optional parameters: none
Returns metadata for a given KeyRing.
https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/get Required parameters: name Optional parameters: none Returns metadata for a given KeyRing.
(locations-keyRings-getIamPolicy$ auth parameters)https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/getIamPolicy
Required parameters: resource
Optional parameters: options.requestedPolicyVersion
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/getIamPolicy Required parameters: resource Optional parameters: options.requestedPolicyVersion Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
(locations-keyRings-importJobs-create$ auth parameters body)https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/importJobs/create
Required parameters: parent
Optional parameters: importJobId
Body:
{:generateTime string, :name string, :createTime string, :expireEventTime string, :state string, :publicKey {:pem string}, :attestation {:format string, :content string}, :expireTime string, :importMethod string, :protectionLevel string}
Create a new ImportJob within a KeyRing.
ImportJob.import_method is required.
https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/importJobs/create
Required parameters: parent
Optional parameters: importJobId
Body:
{:generateTime string,
:name string,
:createTime string,
:expireEventTime string,
:state string,
:publicKey {:pem string},
:attestation {:format string, :content string},
:expireTime string,
:importMethod string,
:protectionLevel string}
Create a new ImportJob within a KeyRing.
ImportJob.import_method is required.(locations-keyRings-importJobs-get$ auth parameters)https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/importJobs/get
Required parameters: name
Optional parameters: none
Returns metadata for a given ImportJob.
https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/importJobs/get Required parameters: name Optional parameters: none Returns metadata for a given ImportJob.
(locations-keyRings-importJobs-getIamPolicy$ auth parameters)Required parameters: resource
Optional parameters: options.requestedPolicyVersion
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/importJobs/getIamPolicy Required parameters: resource Optional parameters: options.requestedPolicyVersion Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
(locations-keyRings-importJobs-list$ auth parameters)https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/importJobs/list
Required parameters: parent
Optional parameters: pageToken, orderBy, pageSize, filter
Lists ImportJobs.
https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/importJobs/list Required parameters: parent Optional parameters: pageToken, orderBy, pageSize, filter Lists ImportJobs.
(locations-keyRings-importJobs-setIamPolicy$ auth parameters body)Required parameters: resource
Optional parameters: none
Body:
{:policy {:etag string, :version integer, :auditConfigs [AuditConfig], :bindings [Binding]}, :updateMask string}
Sets the access control policy on the specified resource. Replaces any existing policy.
Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED
https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/importJobs/setIamPolicy
Required parameters: resource
Optional parameters: none
Body:
{:policy {:etag string,
:version integer,
:auditConfigs [AuditConfig],
:bindings [Binding]},
:updateMask string}
Sets the access control policy on the specified resource. Replaces any
existing policy.
Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED(locations-keyRings-importJobs-testIamPermissions$ auth parameters body)Required parameters: resource
Optional parameters: none
Body:
{:permissions [string]}
Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.
Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.
https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/importJobs/testIamPermissions
Required parameters: resource
Optional parameters: none
Body:
{:permissions [string]}
Returns permissions that a caller has on the specified resource.
If the resource does not exist, this will return an empty set of
permissions, not a NOT_FOUND error.
Note: This operation is designed to be used for building permission-aware
UIs and command-line tools, not for authorization checking. This operation
may "fail open" without warning.(locations-keyRings-list$ auth parameters)https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/list
Required parameters: parent
Optional parameters: filter, pageToken, orderBy, pageSize
Lists KeyRings.
https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/list Required parameters: parent Optional parameters: filter, pageToken, orderBy, pageSize Lists KeyRings.
(locations-keyRings-setIamPolicy$ auth parameters body)https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/setIamPolicy
Required parameters: resource
Optional parameters: none
Body:
{:policy {:etag string, :version integer, :auditConfigs [AuditConfig], :bindings [Binding]}, :updateMask string}
Sets the access control policy on the specified resource. Replaces any existing policy.
Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED
https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/setIamPolicy
Required parameters: resource
Optional parameters: none
Body:
{:policy {:etag string,
:version integer,
:auditConfigs [AuditConfig],
:bindings [Binding]},
:updateMask string}
Sets the access control policy on the specified resource. Replaces any
existing policy.
Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED(locations-keyRings-testIamPermissions$ auth parameters body)https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/testIamPermissions
Required parameters: resource
Optional parameters: none
Body:
{:permissions [string]}
Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.
Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.
https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/testIamPermissions
Required parameters: resource
Optional parameters: none
Body:
{:permissions [string]}
Returns permissions that a caller has on the specified resource.
If the resource does not exist, this will return an empty set of
permissions, not a NOT_FOUND error.
Note: This operation is designed to be used for building permission-aware
UIs and command-line tools, not for authorization checking. This operation
may "fail open" without warning.(locations-list$ auth parameters)https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/list
Required parameters: name
Optional parameters: filter, pageToken, pageSize
Lists information about the supported locations for this service.
https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/list Required parameters: name Optional parameters: filter, pageToken, pageSize Lists information about the supported locations for this service.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |