OrganizationsEnvironmentsKeystoresAliases
class OrganizationsEnvironmentsKeystoresAliases extends Resource (View source)
The "aliases" collection of methods.
Typical usage is:
$apigeeService = new Google\Service\Apigee(...);
$aliases = $apigeeService->organizations_environments_keystores_aliases;
Methods
Creates an alias from a key/certificate pair. The structure of the request is
controlled by the format
query parameter: - keycertfile
- Separate PEM-
encoded key and certificate files are uploaded. Set Content-Type: multipart/form-data
and include the keyFile
, certFile
, and password
(if keys are encrypted) fields in the request body. If uploading to a
truststore, omit keyFile
. - pkcs12
- A PKCS12 file is uploaded. Set
Content-Type: multipart/form-data
, provide the file in the file
field,
and include the password
field if the file is encrypted in the request
body. - selfsignedcert
- A new private key and certificate are generated.
Generates a PKCS #10 Certificate Signing Request for the private key in an alias. (aliases.csr)
Deletes an alias. (aliases.delete)
Gets an alias. (aliases.get)
Gets the certificate from an alias in PEM-encoded form.
Updates the certificate in an alias. (aliases.update)
Details
GoogleCloudApigeeV1Alias
create(string $parent, GoogleApiHttpBody $postBody, array $optParams = [])
Creates an alias from a key/certificate pair. The structure of the request is
controlled by the format
query parameter: - keycertfile
- Separate PEM-
encoded key and certificate files are uploaded. Set Content-Type: multipart/form-data
and include the keyFile
, certFile
, and password
(if keys are encrypted) fields in the request body. If uploading to a
truststore, omit keyFile
. - pkcs12
- A PKCS12 file is uploaded. Set
Content-Type: multipart/form-data
, provide the file in the file
field,
and include the password
field if the file is encrypted in the request
body. - selfsignedcert
- A new private key and certificate are generated.
Set Content-Type: application/json
and include CertificateGenerationSpec in
the request body. (aliases.create)
GoogleApiHttpBody
csr(string $name, array $optParams = [])
Generates a PKCS #10 Certificate Signing Request for the private key in an alias. (aliases.csr)
GoogleCloudApigeeV1Alias
delete(string $name, array $optParams = [])
Deletes an alias. (aliases.delete)
GoogleCloudApigeeV1Alias
get(string $name, array $optParams = [])
Gets an alias. (aliases.get)
GoogleApiHttpBody
getCertificate(string $name, array $optParams = [])
Gets the certificate from an alias in PEM-encoded form.
(aliases.getCertificate)
GoogleCloudApigeeV1Alias
update(string $name, GoogleApiHttpBody $postBody, array $optParams = [])
Updates the certificate in an alias. (aliases.update)