Public Certificate Authority API . projects . locations . externalAccountKeys

Instance Methods

close()

Close httplib2 connections.

create(parent, body=None, x__xgafv=None)

Creates a new ExternalAccountKey bound to the project.

Method Details

close()
Close httplib2 connections.
create(parent, body=None, x__xgafv=None)
Creates a new ExternalAccountKey bound to the project.

Args:
  parent: string, Required. The parent resource where this external_account_key will be created. Format: projects/[project_id]/locations/[location]. At present only the "global" location is supported. (required)
  body: object, The request body.
    The object takes the form of:

{ # A representation of an ExternalAccountKey used for [external account binding](https://tools.ietf.org/html/rfc8555#section-7.3.4) within ACME.
  "b64MacKey": "A String", # Output only. Base64-URL-encoded HS256 key. It is generated by the PublicCertificateAuthorityService when the ExternalAccountKey is created
  "keyId": "A String", # Output only. Key ID. It is generated by the PublicCertificateAuthorityService when the ExternalAccountKey is created
  "name": "A String", # Output only. Resource name. projects/{project}/locations/{location}/externalAccountKeys/{key_id}
}

  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # A representation of an ExternalAccountKey used for [external account binding](https://tools.ietf.org/html/rfc8555#section-7.3.4) within ACME.
  "b64MacKey": "A String", # Output only. Base64-URL-encoded HS256 key. It is generated by the PublicCertificateAuthorityService when the ExternalAccountKey is created
  "keyId": "A String", # Output only. Key ID. It is generated by the PublicCertificateAuthorityService when the ExternalAccountKey is created
  "name": "A String", # Output only. Resource name. projects/{project}/locations/{location}/externalAccountKeys/{key_id}
}