# Artifact issue with Vault

**URL:** <https://discuss.hashicorp.com/t/artifact-issue-with-vault/47914>\
**Category:** Nomad\
**Created:** [December 13, 2022, 1:53pm UTC](https://discuss.hashicorp.com/t/artifact-issue-with-vault/47914 "2022-12-13T13:53:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![santrosyansevak](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/santrosyansevak/32/23958_2.png) [@santrosyansevak](https://discuss.hashicorp.com/u/santrosyansevak)\
**Post date:** [December 13, 2022, 1:53pm UTC](https://discuss.hashicorp.com/t/artifact-issue-with-vault/47914/1 "2022-12-13T13:53:07Z")

</div>

We are using artifacts in nomad and have deployed an s3 bucket and hardcoded access and secret keys in a script. But when we are giving to go a take creds for accessing S3 from Vault and it’s failing.

artifact {  
source = “mys3bucket”  
options {  
aws\_access\_key\_id = “myaccesskey”  
aws\_access\_key\_secret = “mysecretkey”  
}  
}

Please help to solve this issue.  
Thanks.
