Initialize configurations
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
export AWS_VAULT_BACKEND=secret-service
|
||||
export AWS_VAULT_SECRET_SERVICE_COLLECTION_NAME=default
|
||||
|
||||
alias argoyp='argo --context yp:060714730522:eu-west-1/yp-dev -n argo'
|
||||
|
||||
function awsS3cpWithPublic {
|
||||
local expires=$(date '+%a, %d %b %Y 00:00:00 GMT' -d "$(date +%Y-%m-%d) + 365 day")
|
||||
aws s3 cp --acl "public-read" --expires "${expires}" --cache-control "max-age=31536000" --metadata-directive REPLACE $@
|
||||
}
|
||||
Reference in New Issue
Block a user