github.com/aavshr/aws-sdk-go@v1.41.3/aws/session/testdata/credential_source_config (about) 1 [env_var_credential_source] 2 role_arn = assume_role_w_creds_role_arn_env 3 credential_source = Environment 4 5 [invalid_source_and_credential_source] 6 role_arn = assume_role_w_creds_role_arn_bad 7 credential_source = Environment 8 source_profile = env_var_credential_source 9 10 [ec2metadata] 11 role_arn = assume_role_w_creds_role_arn_ec2 12 credential_source = Ec2InstanceMetadata 13 14 [ecscontainer] 15 role_arn = assume_role_w_creds_role_arn_ecs 16 credential_source = EcsContainer 17 18 [chained_assume_role] 19 role_arn = assume_role_w_creds_role_arn_chain 20 source_profile = ec2metadata 21 22 [cred_proc_no_arn_set] 23 credential_process = cat ./testdata/test_json.json 24 25 [cred_proc_arn_set] 26 role_arn = assume_role_w_creds_proc_role_arn 27 credential_process = cat ./testdata/test_json.json 28 29 [chained_cred_proc] 30 role_arn = assume_role_w_creds_proc_source_prof 31 source_profile = cred_proc_no_arn_set 32 33 [profile sso_creds] 34 sso_account_id = 012345678901 35 sso_region = us-west-2 36 sso_role_name = TestRole 37 sso_start_url = https://127.0.0.1/start 38 39 [profile source_sso_creds] 40 role_arn = source_sso_creds_arn 41 source_profile = sso_creds 42 43 [profile assume_sso_and_static] 44 role_arn = assume_sso_and_static_arn 45 source_profile = sso_and_static 46 47 [profile sso_and_static] 48 aws_access_key_id = sso_and_static_akid 49 aws_secret_access_key = sso_and_static_secret 50 aws_session_token = sso_and_static_token 51 sso_account_id = 012345678901 52 sso_region = us-west-2 53 sso_role_name = TestRole 54 sso_start_url = https://THIS_SHOULD_NOT_BE_IN_TESTDATA_CACHE/start 55 56 [profile sso_invalid] 57 sso_account_id = 012345678901 58 sso_role_name = TestRole 59 60 [profile sso_mixed_credproc] 61 sso_account_id = 012345678901 62 sso_region = us-west-2 63 sso_role_name = TestRole 64 sso_start_url = https://127.0.0.1/start 65 credential_process = cat ./testdata/test_json.json 66 67 [profile sso_mixed_webident] 68 web_identity_token_file = ./testdata/wit.txt 69 role_arn = sso_mixed_webident_arn 70 sso_account_id = 012345678901 71 sso_region = us-west-2 72 sso_role_name = TestRole 73 sso_start_url = https://127.0.0.1/start