palette-sdk-typescript
Version:
TypeScript SDK for Spectro Cloud Palette API
33 lines • 1.35 kB
TypeScript
/**
* Copyright (c) Spectro Cloud
* SPDX-License-Identifier: Apache-2.0
*/
/**
* Generated by orval v7.10.0 🍺
* Do not edit manually.
* Palette APIs - 4.7
* OpenAPI spec version: v1
*/
import type { AwsCloudAccountCredentialType } from './awsCloudAccountCredentialType';
import type { AwsCloudAccountPartition } from './awsCloudAccountPartition';
import type { AwsSecretSpec } from './awsSecretSpec';
import type { AwsStsCredentials } from './awsStsCredentials';
/**
* AWS cloud account which includes access key and secret key in case of 'secret' credentials type. It includes policyARNS, ARN and externalId in case of sts. Partition is a group of AWS Region and Service objects
*/
export type AwsCloudAccount = {
/** AWS account access key */
accessKey?: string;
credentialType?: AwsCloudAccountCredentialType;
/** AWS accounts are scoped to a single partition. Allowed values [aws, aws-us-gov], Default values */
partition?: AwsCloudAccountPartition;
/** List of policy ARNs required in case of credentialType sts. */
policyARNs?: string[];
/** AWS account secret key */
secretKey?: string;
secretSpec?: AwsSecretSpec;
/** AWS account secret token; in case of aws-iso and aws-iso-b */
secretToken?: string;
sts?: AwsStsCredentials;
};
//# sourceMappingURL=awsCloudAccount.d.ts.map