diff --git a/src/spaceone/secret/service/user_secret_service.py b/src/spaceone/secret/service/user_secret_service.py index 3af76db..4cdca83 100644 --- a/src/spaceone/secret/service/user_secret_service.py +++ b/src/spaceone/secret/service/user_secret_service.py @@ -115,7 +115,7 @@ def delete(self, params): user_secret_id = params["user_secret_id"] domain_id = params["domain_id"] - role_type = self.transaction.get_meta("role_type") + role_type = self.transaction.get_meta("authorization.role_type") if role_type == "SYSTEM_TOKEN": user_id = None else: