Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: nithyatsu <nithyasu@microsoft.com>
  • Loading branch information
nithyatsu committed Jul 3, 2024
1 parent cb6178f commit e36fb02
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions typespec/UCP/aws-credentials.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,7 @@ model AwsPlaneNameParameter {
enum AWSCredentialKind {
@doc("The AWS Access Key credential")
AccessKey,

@doc("The AWS IRSA credential")
@doc("AWS IAM roles for service accounts. For more information, please see: https://docs.aws.amazon.com/eks/latest/userguide/iam-roles-for-service-accounts.html")
IRSA,
}

Expand All @@ -79,7 +78,7 @@ model AwsCredentialProperties {
provisioningState?: ProvisioningState;
}

@doc("AWS credential storage properties")
@doc("AWS credential properties for Access Key")
model AwsAccessKeyCredentialProperties extends AwsCredentialProperties {
@doc("Access Key kind")
kind: AWSCredentialKind.AccessKey;
Expand All @@ -96,7 +95,7 @@ model AwsAccessKeyCredentialProperties extends AwsCredentialProperties {
storage: CredentialStorageProperties;
}

@doc("AWS credential storage properties")
@doc("AWS credential properties for IAM Roles for Service Accounts (IRSA)")
model AwsIRSACredentialProperties extends AwsCredentialProperties {
@doc("IRSA credential kind")
kind: AWSCredentialKind.IRSA;
Expand Down

0 comments on commit e36fb02

Please sign in to comment.