Apigee API . organizations . environments . keystores

Instance Methods

aliases()

Returns the aliases Resource.

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

Creates a keystore or truststore:

delete(name, x__xgafv=None)

Deletes a keystore or truststore.

get(name, x__xgafv=None)

Gets a keystore or truststore.

Method Details

create(parent, body=None, name=None, x__xgafv=None)
Creates a keystore or truststore:
 * Keystore: Contains certificates and their associated keys.
 * Truststore: Contains trusted certificates used to validate a
 server's certificate. These certificates are typically self-signed
 certificates or certificates that are not signed by a trusted CA.

Args:
  parent: string, Required. The name of the environment in which to create the keystore.
Must be of the form
`organizations/{organization}/environments/{environment}`. (required)
  body: object, The request body.
    The object takes the form of:

{ # A datastore for Certificates and Aliases
    "name": "A String", # Required. The resource ID for this keystore.  Values must match the
        # regular expression `[\w[:space:]-.]{1,255}`.
    "aliases": [ # Output only. The aliases in this keystore.
      "A String",
    ],
  }

  name: string, Optional. Overrides the value in Keystore.
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # A datastore for Certificates and Aliases
      "name": "A String", # Required. The resource ID for this keystore.  Values must match the
          # regular expression `[\w[:space:]-.]{1,255}`.
      "aliases": [ # Output only. The aliases in this keystore.
        "A String",
      ],
    }
delete(name, x__xgafv=None)
Deletes a keystore or truststore.

Args:
  name: string, Required. The name of keystore to delete. Must be of the form
`organizations/{organization}/environments/{environment}/keystores/{keystore}`. (required)
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # A datastore for Certificates and Aliases
      "name": "A String", # Required. The resource ID for this keystore.  Values must match the
          # regular expression `[\w[:space:]-.]{1,255}`.
      "aliases": [ # Output only. The aliases in this keystore.
        "A String",
      ],
    }
get(name, x__xgafv=None)
Gets a keystore or truststore.

Args:
  name: string, Required. The name of keystore. Must be of the form
`organizations/{organization}/environments/{environment}/keystores/{keystore}`. (required)
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # A datastore for Certificates and Aliases
      "name": "A String", # Required. The resource ID for this keystore.  Values must match the
          # regular expression `[\w[:space:]-.]{1,255}`.
      "aliases": [ # Output only. The aliases in this keystore.
        "A String",
      ],
    }