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