README.md in simnos-0.1.1.beta1 vs README.md in simnos-0.1.1.beta2

- old
+ new

@@ -44,10 +44,14 @@ -s, --split split export DSL file to 1 per topic --no-color no color --with-subscriptions manage subscriptions + --recreate-subscriptions + recreate subscriptions + --secret-provider NAME + use secret value expansion -i, --include-names NAMES include SNS names -x, --exclude-names NAMES exclude SNS names by regex ``` ## SNSfile @@ -111,9 +115,28 @@ sns "ap-northeast-1" do include_template "default_policy", topic_name: "test-topic" end ``` + +## Secret provider + +If you don't want to commit your Basic authentication password, you can use SecretProvider. +Use --secret-provider option to select provider.(e.g. --secret-provider=vault) +Expression inside `${...}` is passed to provider. + +``` + subscriptions do + subscription protocol: "https", endpoint: "https://user:${password}your.awesome.site/" + end +``` + +## Subscriptions + +There is no way to UPDATE subscription. +So if you want to recreate subscrptions, use --recreate-subscriptions option. +It is highly recommended to also path --include-names or exclude-names to select topics. +Because of Basic authentication password is not returned from API, recreation is needed to change password. ## Similar tools * [Codenize.tools](http://codenize.tools/)