Hi Kamalakar,
> I have multiple profiles in ~/.aws/credentials file, how to specify which profile to pickup by vault ?
I have not tested this yet. But looking at the code it looks like the
backend will take care of pulling the credentials automatically.
Multiple credential providers will be used: preconfigured keys in the
config endpoint, environment variables (AWS_ACCESS_KEY,
AWS_SECRET_KEY), shared credential providers and the ec2 role
providers. What you are asking for belongs to shared credentials
provider. By default, the "[default]" profile should be picked. If you
want other profile to be picked, then setting the desired profile via
environment variable AWS_PROFILE should do.
> We do have proxy sitting between aws client and AWS endpoint, how can we tell vault to pickup those proxy details ?
I am not sure what you are asking here. Is that you want the AWS APIs
to land at a different endpoint? If yes, `/auth/aws-ec2/config/client`
API has an "endpoint" field that could be used.
Regards,
Vishal
> --
> This mailing list is governed under the HashiCorp Community Guidelines -
>
https://www.hashicorp.com/community-guidelines.html. Behavior in violation
> of those guidelines may result in your removal from this mailing list.
>
> GitHub Issues:
https://github.com/hashicorp/vault/issues
> IRC: #vault-tool on Freenode
> ---
> You received this message because you are subscribed to the Google Groups
> "Vault" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
vault-tool+...@googlegroups.com.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/vault-tool/7070cd52-241c-4923-8d9a-5899b696236e%40googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.
--
vn