Skip to content

allGcpNativeAvailableKmsCryptoKeys

List of GCP KMS Crypto keys accessible in the provided region.

Arguments

Argument Type Description
projectId (required) UUID! ID of the Project.
regionName (required) String! GCP region native name.

Returns

[GcpNativeKmsCryptoKey!]!

Sample

query AllGcpNativeAvailableKmsCryptoKeys($projectId: UUID!, $regionName: String!) {
  allGcpNativeAvailableKmsCryptoKeys(
    projectId: $projectId
    regionName: $regionName
  ) {
    key
    keyRing
    location
    projectNativeId
  }
}
{
  "projectId": "00000000-0000-0000-0000-000000000000",
  "regionName": "example-string"
}
{
  "data": {
    "allGcpNativeAvailableKmsCryptoKeys": [
      {
        "key": "example-string",
        "keyRing": "example-string",
        "location": "example-string",
        "projectNativeId": "example-string"
      }
    ]
  }
}