CreateCredential Method
Last updated
Last updated
Registers a cloud-provider credential to be used.
POST https://api.skeddly.com/api/Credentials/
The body is a JSON structure with the following properties.
Parameters for the Amazon IAM access key credential. Required when credentialType
is amazon-access-key
.
Type: object.
Required: Conditional
Parameters for the Amazon IAM role credential. Required when credentialType
is amazon-iam-role
.
Type: object.
Required: Conditional
Parameters for the Azure credential. Required when credentialType
is azure-credential
.
Required: Conditional
Cloud-provider sub-type ID.
Type: string
Valid Values:
amazon-standard
amazon-govcloud-us
amazon-china
azure-global
google-standard
Required: Yes
Type of credential being registered.
Type: string
Required: Yes
Valid Values:
amazon-iam-role
amazon-access-key
azure-credential
google-service-account-key
Parameters for the Google Cloud Provider service account key credential. Required when credentialType
is google-service-account-key
.
Required: Conditional
Friendly name for the credential.
Type: string
Required: Yes
The ID of the project in which to create the credential.
Type: string
Required: Recommended for future compatability
Default Value: The account's default project.
Type: object.
Type: object.
A object.