Igor Motov dc82262db6 Don't show access_key and filter_key in S3 repository settings
In #11265 we added an ability to filter out sensitive repository settings. This commit uses this change to filter out access_key and filter_key in S3 repository settings.

Closes elastic/elasticsearch-cloud-aws#184
2015-08-19 16:21:42 -04:00

24 lines
686 B
YAML

# Integration tests for Cloud AWS components
#
"S3 repository can be registereed":
- do:
snapshot.create_repository:
repository: test_repo_s3_1
verify: false
body:
type: s3
settings:
bucket: "my_bucket_name"
access_key: "AKVAIQBF2RECL7FJWGJQ"
secret_key: "vExyMThREXeRMm/b/LRzEB8jWwvzQeXgjqMX+6br"
# Get repositry
- do:
snapshot.get_repository:
repository: test_repo_s3_1
- is_true: test_repo_s3_1
- is_true: test_repo_s3_1.settings.bucket
- is_false: test_repo_s3_1.settings.access_key
- is_false: test_repo_s3_1.settings.secret_key