GoogleApi.Apigee.V1.Api.Organizations.apigee_organizations_environments_keystores_aliases_create
You're seeing just the function
apigee_organizations_environments_keystores_aliases_create
, go back to GoogleApi.Apigee.V1.Api.Organizations module for more information.
Link to this function
apigee_organizations_environments_keystores_aliases_create(connection, parent, optional_params \\ [], opts \\ [])
View SourceSpecs
apigee_organizations_environments_keystores_aliases_create( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.Apigee.V1.Model.GoogleCloudApigeeV1Alias.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
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.
Parameters
-
connection
(type:GoogleApi.Apigee.V1.Connection.t
) - Connection to server -
parent
(type:String.t
) - Required. Name of the keystore. Use the following format in your request:organizations/{org}/environments/{env}/keystores/{keystore}
. -
optional_params
(type:keyword()
) - Optional parameters-
:"$.xgafv"
(type:String.t
) - V1 error format. -
:access_token
(type:String.t
) - OAuth access token. -
:alt
(type:String.t
) - Data format for response. -
:callback
(type:String.t
) - JSONP -
:fields
(type:String.t
) - Selector specifying which fields to include in a partial response. -
:key
(type:String.t
) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. -
:oauth_token
(type:String.t
) - OAuth 2.0 token for the current user. -
:prettyPrint
(type:boolean()
) - Returns response with indentations and line breaks. -
:quotaUser
(type:String.t
) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. -
:uploadType
(type:String.t
) - Legacy upload protocol for media (e.g. "media", "multipart"). -
:upload_protocol
(type:String.t
) - Upload protocol for media (e.g. "raw", "multipart"). -
:_password
(type:String.t
) - DEPRECATED: For improved security, specify the password in the request body instead of using the query parameter. To specify the password in the request body, setContent-type: multipart/form-data
part with namepassword
. Password for the private key file, if required. -
:alias
(type:String.t
) - Alias for the key/certificate pair. Values must match the regular expression[\w\s-.]{1,255}
. This must be provided for all formats exceptselfsignedcert
; self-signed certs may specify the alias in either this parameter or the JSON body. -
:format
(type:String.t
) - Required. Format of the data. Valid values include:selfsignedcert
,keycertfile
, orpkcs12
-
:ignoreExpiryValidation
(type:boolean()
) - Flag that specifies whether to ignore expiry validation. If set totrue
, no expiry validation will be performed. -
:ignoreNewlineValidation
(type:boolean()
) - Flag that specifies whether to ignore newline validation. If set totrue
, no error is thrown when the file contains a certificate chain with no newline between each certificate. Defaults tofalse
. -
:body
(type:GoogleApi.Apigee.V1.Model.GoogleApiHttpBody.t
) -
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.Apigee.V1.Model.GoogleCloudApigeeV1Alias{}}
on success -
{:error, info}
on failure