ModifyCredential Method
Description
Updates an existing cloud-provider credential.
HTTP Request
PUT https://api.skeddly.com/api/Credentials/<id>
URL Parameters
Id
ID of the credential.
Type: string
Required: Yes
Body
The body is a JSON structure with the following properties. All body parameters are optional. Only properties being modified are required.
amazonIamAccessKey
Parameters for the IAM access key credential. Required when credentialType
is amazon-access-key
.
Type: AmazonIamAccessKeyParameters object.
Required: Conditional
amazonIamRole
Parameters for the IAM role credential. Required when credentialType
is amazon-iam-role
.
Type: AmazonIamRoleParameters object.
Required: Conditional
cloudProviderSubTypeId
Cloud-provider sub-type ID.
Type: string
Valid Values:
amazon-standard
amazon-govcloud-us
amazon-china
google-standard
Required: Yes
googleServiceAccountKey
Parameters for the Google Cloud Provider service account key credential. Required when credentialType
is google-service-account-key
.
Type: GoogleServiceAccountKeyParameters object.
Required: Conditional
name
Updated friendly name for the credential.
Type: string
Required: No
Returns
A Credential object.
Sample Request
Sample Response
Last updated