./lib/strongdm.rb in strongdm-6.2.1 vs ./lib/strongdm.rb in strongdm-6.3.0

- old
+ new

@@ -27,11 +27,11 @@ class Client DEFAULT_MAX_RETRIES = 3 DEFAULT_BASE_RETRY_DELAY = 0.0030 # 30 ms DEFAULT_MAX_RETRY_DELAY = 300 # 300 seconds API_VERSION = "2021-08-23" - USER_AGENT = "strongdm-sdk-ruby/6.2.1" + USER_AGENT = "strongdm-sdk-ruby/6.3.0" private_constant :DEFAULT_MAX_RETRIES, :DEFAULT_BASE_RETRY_DELAY, :DEFAULT_MAX_RETRY_DELAY, :API_VERSION, :USER_AGENT # Creates a new strongDM API client. def initialize(api_access_key, api_secret_key, host: "api.strongdm.com:443", insecure: false, retry_rate_limit_errors: true, page_limit: 50) raise TypeError, "client access key must be a string" unless api_access_key.kind_of?(String) @@ -86,10 +86,11 @@ @resources_history = ResourcesHistory.new(@channel, self) @role_resources = RoleResources.new(@channel, self) @role_resources_history = RoleResourcesHistory.new(@channel, self) @roles = Roles.new(@channel, self) @roles_history = RolesHistory.new(@channel, self) + @secret_store_healths = SecretStoreHealths.new(@channel, self) @secret_stores = SecretStores.new(@channel, self) @secret_stores_history = SecretStoresHistory.new(@channel, self) @workflow_approvers = WorkflowApprovers.new(@channel, self) @workflow_approvers_history = WorkflowApproversHistory.new(@channel, self) @workflow_assignments = WorkflowAssignments.new(@channel, self) @@ -334,10 +335,14 @@ attr_reader :roles # RolesHistory records all changes to the state of a Role. # # See {RolesHistory}. attr_reader :roles_history + # SecretStoreHealths exposes health states for secret stores. + # + # See {SecretStoreHealths}. + attr_reader :secret_store_healths # SecretStores are servers where resource secrets (passwords, keys) are stored. # # See {SecretStores}. attr_reader :secret_stores # SecretStoresHistory records all changes to the state of a SecretStore. @@ -419,9 +424,10 @@ @resources_history = ResourcesHistory.new(@channel, self) @role_resources = RoleResources.new(@channel, self) @role_resources_history = RoleResourcesHistory.new(@channel, self) @roles = Roles.new(@channel, self) @roles_history = RolesHistory.new(@channel, self) + @secret_store_healths = SecretStoreHealths.new(@channel, self) @secret_stores = SecretStores.new(@channel, self) @secret_stores_history = SecretStoresHistory.new(@channel, self) @workflow_approvers = WorkflowApprovers.new(@channel, self) @workflow_approvers_history = WorkflowApproversHistory.new(@channel, self) @workflow_assignments = WorkflowAssignments.new(@channel, self)