Sha256: 4cbde5072c79ea5aa8c15da26536fe5166bc85659456b9d268ba7618e2afdee2
Contents?: true
Size: 1.21 KB
Versions: 67
Compression:
Stored size: 1.21 KB
Contents
Shindo.tests('AWS::IAM | account policy requests', ['aws']) do tests('success') do tests("#update_account_password_policy(minimum_password_length, max_password_age, password_reuse_prevention,require_symbols,require_numbers,require_uppercase_characters, require_lowercase_characters,allow_users_to_change_password, hard_expiry, expire_passwords)").formats(AWS::IAM::Formats::BASIC) do minimum_password_length, password_reuse_prevention, max_password_age = 5 require_symbols, require_numbers, require_uppercase_characters, require_lowercase_characters, allow_users_to_change_password, hard_expiry, expire_passwords = false Fog::AWS[:iam].update_account_password_policy(minimum_password_length, max_password_age, password_reuse_prevention,require_symbols,require_numbers,require_uppercase_characters, require_lowercase_characters,allow_users_to_change_password, hard_expiry, expire_passwords).body end tests("#get_account_password_policy()") do Fog::AWS[:iam].get_account_password_policy().body['AccountPasswordPolicy'] end tests("#delete_account_password_policy()").formats(AWS::IAM::Formats::BASIC) do Fog::AWS[:iam].delete_account_password_policy().body end end end
Version data entries
67 entries across 65 versions & 5 rubygems