MCPcopy Create free account
hub / github.com/ShipSecAI/studio / awsCredentialSchema

Function awsCredentialSchema

packages/contracts/src/index.ts:6–15  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4
5export const awsCredentialContractName = 'core.credential.aws';
6export const awsCredentialSchema = () =>
7 withPortMeta(
8 z.object({
9 accessKeyId: z.string(),
10 secretAccessKey: z.string(),
11 sessionToken: z.string().optional(),
12 region: z.string().optional(),
13 }),
14 { schemaName: awsCredentialContractName, isCredential: true },
15 );
16
17export type AwsCredential = z.infer<ReturnType<typeof awsCredentialSchema>>;
18

Callers 4

prowler-scan.tsFile · 0.90
aws-mcp-group.tsFile · 0.90
destination-s3.tsFile · 0.90
credentials-aws.tsFile · 0.90

Calls 1

withPortMetaFunction · 0.90

Tested by

no test coverage detected