# Specifying AWS Profile.....?

**URL:** <https://discourse.sst.dev/t/specifying-aws-profile/2363>\
**Category:** General\
**Created:** [March 29, 2021, 4:36pm UTC](https://discourse.sst.dev/t/specifying-aws-profile/2363 "2021-03-29T16:36:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Creator](https://yyz2.discourse-cdn.com/flex032/user_avatar/discourse.sst.dev/creator/32/948_2.png) [@Creator](https://discourse.sst.dev/u/Creator)\
**Post date:** [March 29, 2021, 4:36pm UTC](https://discourse.sst.dev/t/specifying-aws-profile/2363/1 "2021-03-29T16:36:22Z")

</div>

The docs say that, in order to specify an AWS profile (from your `~/.aws/credentials` file), you have to use something like `AWS_PROFILE=myprofile` We don’t want to use ENV variables for this. Is there a way to hard-code the profile name somewhere, like in the sst.json file?

---

<div class="post-metadata">

**Author:** ![jayair](https://yyz2.discourse-cdn.com/flex032/user_avatar/discourse.sst.dev/jayair/32/9_2.png) [@jayair](https://discourse.sst.dev/u/jayair)\
**Post date:** [May 15, 2021, 10:59pm UTC](https://discourse.sst.dev/t/specifying-aws-profile/2363/2 "2021-05-15T22:59:24Z")

</div>

Currently there isn’t but you can open a new issue for this if this is required.

> **[serverless-stack/serverless-stack](https://github.com/serverless-stack/serverless-stack/issues)**
>
> s

---

<div class="post-metadata">

**Author:** ![skiscontent](https://avatars.discourse-cdn.com/v4/letter/s/7ba0ec/32.png) [@skiscontent](https://discourse.sst.dev/u/skiscontent)\
**Post date:** [June 25, 2021, 12:57am UTC](https://discourse.sst.dev/t/specifying-aws-profile/2363/3 "2021-06-25T00:57:00Z")

</div>

I was able to set a profile in the serverless.yml file as provider.profile.
