mirror of
https://github.com/aws-actions/configure-aws-credentials.git
synced 2026-09-04 06:15:07 +09:00
debug messages
This commit is contained in:
@@ -63,6 +63,7 @@ export class CredentialsClient {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private async loadCredentials() {
|
private async loadCredentials() {
|
||||||
|
info('trying to load credentials');
|
||||||
const client = new STSClient({
|
const client = new STSClient({
|
||||||
requestHandler: this.requestHandler ? this.requestHandler : undefined,
|
requestHandler: this.requestHandler ? this.requestHandler : undefined,
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -203,7 +203,9 @@ export async function run() {
|
|||||||
if (!process.env.GITHUB_ACTIONS || AccessKeyId) {
|
if (!process.env.GITHUB_ACTIONS || AccessKeyId) {
|
||||||
await credentialsClient.validateCredentials(roleCredentials.Credentials?.AccessKeyId);
|
await credentialsClient.validateCredentials(roleCredentials.Credentials?.AccessKeyId);
|
||||||
}
|
}
|
||||||
|
core.info(`validated credentials`);
|
||||||
await exportAccountId(credentialsClient, maskAccountId);
|
await exportAccountId(credentialsClient, maskAccountId);
|
||||||
|
core.info(`exported account id`);
|
||||||
} else {
|
} else {
|
||||||
core.info('Proceeding with IAM user credentials');
|
core.info('Proceeding with IAM user credentials');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user