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-generateRandomBytes$ auth parameters body)
https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/generateRandomBytes
Required parameters: location
Optional parameters: none
Body:
{:lengthBytes integer, :protectionLevel string}
Generate random bytes using the Cloud KMS randomness source in the provided location.
https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/generateRandomBytes Required parameters: location Optional parameters: none Body: {:lengthBytes integer, :protectionLevel string} Generate random bytes using the Cloud KMS randomness source in the provided location.
(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:
{:createTime string, :name 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: {:createTime string, :name 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:
{:labels {}, :nextRotationTime string, :importOnly boolean, :primary {:reimportEligible boolean, :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}, :purpose string, :name string, :createTime string, :rotationPeriod string, :versionTemplate {:algorithm string, :protectionLevel string}, :destroyScheduledDuration 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: {:labels {}, :nextRotationTime string, :importOnly boolean, :primary {:reimportEligible boolean, :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}, :purpose string, :name string, :createTime string, :rotationPeriod string, :versionTemplate {:algorithm string, :protectionLevel string}, :destroyScheduledDuration 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:
{:ciphertextCrc32c string, :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: {:ciphertextCrc32c string, :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:
{:digestCrc32c string, :digest {:sha384 string, :sha256 string, :sha512 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: {:digestCrc32c string, :digest {:sha384 string, :sha256 string, :sha512 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:
{:reimportEligible boolean, :algorithm string, :generateTime string, :importFailureReason string, :name string, :importTime string, :createTime string, :state string, :externalProtectionLevelOptions {:externalKeyUri string}, :importJob string, :attestation {:content string, :certChains CertificateChains, :format 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: {:reimportEligible boolean, :algorithm string, :generateTime string, :importFailureReason string, :name string, :importTime string, :createTime string, :state string, :externalProtectionLevelOptions {:externalKeyUri string}, :importJob string, :attestation {:content string, :certChains CertificateChains, :format 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 the time destroy_scheduled_duration in the future. At that time, the state will automatically change 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 the time destroy_scheduled_duration in the future. At that time, the state will automatically change 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, :importJob string, :cryptoKeyVersion string, :rsaAesWrappedKey string}
Import wrapped key material into a CryptoKeyVersion. All requests must specify a CryptoKey. If a CryptoKeyVersion is additionally specified in the request, key material will be reimported into that version. Otherwise, a new version will be created, and 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, :importJob string, :cryptoKeyVersion string, :rsaAesWrappedKey string} Import wrapped key material into a CryptoKeyVersion. All requests must specify a CryptoKey. If a CryptoKeyVersion is additionally specified in the request, key material will be reimported into that version. Otherwise, a new version will be created, and will be assigned the next sequential id within the CryptoKey.
(locations-keyRings-cryptoKeys-cryptoKeyVersions-list$ auth parameters)
Required parameters: parent
Optional parameters: pageToken, view, orderBy, filter, pageSize
Lists CryptoKeyVersions.
https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/cryptoKeys/cryptoKeyVersions/list Required parameters: parent Optional parameters: pageToken, view, orderBy, filter, pageSize Lists CryptoKeyVersions.
(locations-keyRings-cryptoKeys-cryptoKeyVersions-macSign$ auth parameters body)
Required parameters: name
Optional parameters: none
Body:
{:data string, :dataCrc32c string}
Signs data using a CryptoKeyVersion with CryptoKey.purpose MAC, producing a tag that can be verified by another source with the same key.
https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/cryptoKeys/cryptoKeyVersions/macSign Required parameters: name Optional parameters: none Body: {:data string, :dataCrc32c string} Signs data using a CryptoKeyVersion with CryptoKey.purpose MAC, producing a tag that can be verified by another source with the same key.
(locations-keyRings-cryptoKeys-cryptoKeyVersions-macVerify$ auth
parameters
body)
Required parameters: name
Optional parameters: none
Body:
{:mac string, :dataCrc32c string, :macCrc32c string, :data string}
Verifies MAC tag using a CryptoKeyVersion with CryptoKey.purpose MAC, and returns a response that indicates whether or not the verification was successful.
https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/cryptoKeys/cryptoKeyVersions/macVerify Required parameters: name Optional parameters: none Body: {:mac string, :dataCrc32c string, :macCrc32c string, :data string} Verifies MAC tag using a CryptoKeyVersion with CryptoKey.purpose MAC, and returns a response that indicates whether or not the verification was successful.
(locations-keyRings-cryptoKeys-cryptoKeyVersions-patch$ auth parameters body)
Required parameters: name
Optional parameters: updateMask
Body:
{:reimportEligible boolean, :algorithm string, :generateTime string, :importFailureReason string, :name string, :importTime string, :createTime string, :state string, :externalProtectionLevelOptions {:externalKeyUri string}, :importJob string, :attestation {:content string, :certChains CertificateChains, :format 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: {:reimportEligible boolean, :algorithm string, :generateTime string, :importFailureReason string, :name string, :importTime string, :createTime string, :state string, :externalProtectionLevelOptions {:externalKeyUri string}, :importJob string, :attestation {:content string, :certChains CertificateChains, :format 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, :additionalAuthenticatedDataCrc32c string, :additionalAuthenticatedData string, :ciphertextCrc32c 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, :additionalAuthenticatedDataCrc32c string, :additionalAuthenticatedData string, :ciphertextCrc32c 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:
{:plaintextCrc32c string, :plaintext string, :additionalAuthenticatedDataCrc32c string, :additionalAuthenticatedData 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: {:plaintextCrc32c string, :plaintext string, :additionalAuthenticatedDataCrc32c string, :additionalAuthenticatedData 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: versionView, orderBy, filter, pageSize, pageToken
Lists CryptoKeys.
https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/cryptoKeys/list Required parameters: parent Optional parameters: versionView, orderBy, filter, pageSize, pageToken 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:
{:labels {}, :nextRotationTime string, :importOnly boolean, :primary {:reimportEligible boolean, :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}, :purpose string, :name string, :createTime string, :rotationPeriod string, :versionTemplate {:algorithm string, :protectionLevel string}, :destroyScheduledDuration 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: {:labels {}, :nextRotationTime string, :importOnly boolean, :primary {:reimportEligible boolean, :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}, :purpose string, :name string, :createTime string, :rotationPeriod string, :versionTemplate {:algorithm string, :protectionLevel string}, :destroyScheduledDuration string} Update a CryptoKey.
(locations-keyRings-cryptoKeys-setIamPolicy$ auth parameters body)
Required parameters: resource
Optional parameters: none
Body:
{:policy {:auditConfigs [AuditConfig], :bindings [Binding], :version integer, :etag string}, :updateMask string}
Sets the access control policy on the specified resource. Replaces any existing policy. Can return NOT_FOUND
, INVALID_ARGUMENT
, and PERMISSION_DENIED
errors.
https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/cryptoKeys/setIamPolicy Required parameters: resource Optional parameters: none Body: {:policy {:auditConfigs [AuditConfig], :bindings [Binding], :version integer, :etag string}, :updateMask string} Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
(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 a key whose purpose is not ENCRYPT_DECRYPT.
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 a key whose purpose is not ENCRYPT_DECRYPT.
(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 {:content string, :certChains CertificateChains, :format 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 {:content string, :certChains CertificateChains, :format 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, filter, orderBy, pageSize
Lists ImportJobs.
https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/importJobs/list Required parameters: parent Optional parameters: pageToken, filter, orderBy, pageSize Lists ImportJobs.
(locations-keyRings-importJobs-setIamPolicy$ auth parameters body)
Required parameters: resource
Optional parameters: none
Body:
{:policy {:auditConfigs [AuditConfig], :bindings [Binding], :version integer, :etag string}, :updateMask string}
Sets the access control policy on the specified resource. Replaces any existing policy. Can return NOT_FOUND
, INVALID_ARGUMENT
, and PERMISSION_DENIED
errors.
https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/importJobs/setIamPolicy Required parameters: resource Optional parameters: none Body: {:policy {:auditConfigs [AuditConfig], :bindings [Binding], :version integer, :etag string}, :updateMask string} Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
(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: orderBy, filter, pageToken, pageSize
Lists KeyRings.
https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/list Required parameters: parent Optional parameters: orderBy, filter, pageToken, 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 {:auditConfigs [AuditConfig], :bindings [Binding], :version integer, :etag string}, :updateMask string}
Sets the access control policy on the specified resource. Replaces any existing policy. Can return NOT_FOUND
, INVALID_ARGUMENT
, and PERMISSION_DENIED
errors.
https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/setIamPolicy Required parameters: resource Optional parameters: none Body: {:policy {:auditConfigs [AuditConfig], :bindings [Binding], :version integer, :etag string}, :updateMask string} Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
(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: pageSize, filter, pageToken
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: pageSize, filter, pageToken Lists information about the supported locations for this service.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close