Skip to main content

CredentialResource

Properties​

NameTypeDescriptionNotes
IdStringThe source resource identifier.[optional]
TypeStringThe type of the source resource.[optional]
NameStringThe display name of the source resource.[optional]
Features[]StringThe set of features supported by the source resource.[optional]

Examples​

  • Prepare the resource
$CredentialResource = Initialize-CredentialResource -Id 8886e5e3-63d0-462f-a195-d98da885b8dc `
-Type aws:iam-access-key `
-Name nightly-export-key `
-Features ["PROVISIONING"]
  • Convert the resource to JSON
$CredentialResource | ConvertTo-JSON

[Back to top]