diff --git a/src/spaceone/cost_analysis/manager/secret_manager.py b/src/spaceone/cost_analysis/manager/secret_manager.py index cfcfb6b3..9ef64b21 100644 --- a/src/spaceone/cost_analysis/manager/secret_manager.py +++ b/src/spaceone/cost_analysis/manager/secret_manager.py @@ -50,9 +50,6 @@ def delete_secret(self, secret_id: str): def list_secrets(self, query: dict, domain_id: str = None) -> dict: params = {"query": query} - if domain_id: - params["domain_id"] = domain_id - if self.token_type == "SYSTEM_TOKEN": return self.secret_connector.dispatch( "Secret.list", params, x_domain_id=domain_id