IP Library Granted Patent US 12,531,856
Granted Patent B2
US 12,531,856 · App. 18/488,133 · Granted Jan 20, 2026

Cloud based automated secrets rotation

Inventors: Archana Babu Rajendran (Tamil Nadu, IN); Harshit Agarwal (Bengaluru, IN); Vishal Mishra (Odisha, IN); Mauruthi Geetha Mohan (Seattle, WA); Kranthi Kumar Bathula (Sammamish, WA)
Assignee: Oracle International Corporation
H04L63/0846H04L63/102H04L63/20
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,531,856
App. No.
18/488,133
Granted
Jan 20, 2026
Kind
B2
Abstract

Embodiments are directed to a cloud based rotation of a secret stored in a secrets storage and stored in a target system. Embodiments receive an identifier of a function for rotating the secret or an identifier of the target system when the target system includes a management Application Programming Interface (“API”) for rotating the secret. Embodiments determine that the secret needs to be rotated based on a rotating schedule. When the identifier of the function is received, embodiments rotate the secret using the function and when the identifier of the target system is received, embodiments rotate the secret using the management API. Rotating the secret includes updating the secret at the secret storage and at the target system.

Claims (66)

1 . A cloud-based method of rotating a secret stored in a secrets storage of a cloud-based infrastructure and stored in a target system, the method comprising:

receiving an identifier of a function for rotating the secret or an identifier of the target system when the target system comprises a management Application Programming Interface (API) for rotating the secret;

determining that the secret needs to be rotated based on a rotating schedule;

when the identifier of the function is received, rotating the secret using the function; and

when the identifier of the target system is received, rotating the secret using the management API;

wherein rotating the secret comprises updating the secret at the secrets storage and at the target system;

wherein the rotating the secret using the function comprises verifying a connection to the target system, creating a pending version of a first new secret; updating the target system with the first new secret and promoting the pending version of the first new secret to a current secret at the secrets storage.

2 . The method of claim 1 , wherein the rotating the secret using the management API comprises:

generating a second new secret as a pending secret in the secrets storage;

updating the target system with the pending secret using the management API; and

switching a state of the second new secret from pending to active in the secrets storage.

3 . The method of claim 2 , wherein the target system is an autonomous database.

4 . The method of claim 1 , wherein the cloud-based infrastructure comprises a first virtual cloud network (VCN) comprising a local peering gateway (LPG) communicatively coupled to a secure shell (SSH) VCN via the LPG;

wherein the LPG is contained in a control plane VCN and the SSH VCN is communicatively coupled to a data plane VCN.

5 . The method of claim 1 , wherein the secret comprises one of a database password, identity username/password or a private key.

6 . The method of claim 1 , further comprising:

receiving a first account and a second account from a user, the first account and second account having identical permissions, the first account having a current version secret and the second account having a previous version secret;

storing the current version secret and the previous version secret at the secret storage corresponding to a same secret;

creating a pending version secret corresponding to the same secret;

connecting to the target system using the previous version secret; and

updating the target system to use the pending version secret.

7 . The method of claim 1 , further receiving a rotation interval comprising a frequency for rotating the secret.

8 . A non-transitory computer readable medium having instructions stored thereon that, when executed by one or more processors, cause the processors to provide a cloud-based rotating of a secret stored in a secrets storage of a cloud-based infrastructure and stored in a target system, the rotating comprising:

receiving an identifier of a function for rotating the secret or an identifier of the target system when the target system comprises a management Application Programming Interface (API) for rotating the secret;

determining that the secret needs to be rotated based on a rotating schedule;

when the identifier of the function is received, rotating the secret using the function; and

when the identifier of the target system is received, rotating the secret using the management API;

wherein rotating the secret comprises updating the secret at the secrets storage and at the target system;

wherein the rotating the secret using the function comprises verifying a connection to the target system, creating a pending version of a first new secret; updating the target system with the first new secret and promoting the pending version of the first new secret to a current secret at the secrets storage.

9 . The computer readable medium of claim 8 , wherein the rotating the secret using the management API comprises:

generating a second new secret as a pending secret in the secrets storage;

updating the target system with the pending secret using the management API; and

switching a state of the second new secret from pending to active in the secrets storage.

10 . The computer readable medium of claim 9 , wherein the target system is an autonomous database.

11 . The computer readable medium of claim 8 , wherein the cloud-based infrastructure comprises a first virtual cloud network (VCN) comprising a local peering gateway (LPG) communicatively coupled to a secure shell (SSH) VCN via the LPG;

wherein the LPG is contained in a control plane VCN and the SSH VCN is communicatively coupled to a data plane VCN.

12 . The computer readable medium of claim 8 , wherein the secret comprises one of a database password, identity username/password or a private key.

13 . The computer readable medium of claim 8 , the rotating further comprising:

receiving a first account and a second account from a user, the first account and second account having identical permissions, the first account having a current version secret and the second account having a previous version secret;

storing the current version secret and the previous version secret at the secret storage corresponding to a same secret;

creating a pending version secret corresponding to the same secret; connecting to the target system using the previous version secret; and

updating the target system to use the pending version secret.

14 . The computer readable medium of claim 8 , further receiving a rotation interval comprising a frequency for rotating the secret.

15 . A cloud-based secret rotation system comprising:

a secrets storage;

a communications link to a target system;

one or more processors executing instructions and configured to:

receive an identifier of a function for rotating the secret or an identifier of the target system when the target system comprises a management Application Programming Interface (API) for rotating the secret;

determine that the secret needs to be rotated based on a rotating schedule;

when the identifier of the function is received, rotate the secret using the function; and

when the identifier of the target system is received, rotate the secret using the management API;

wherein rotating the secret comprises updating the secrets at the secret storage and at the target system;

wherein the rotating the secret using the function comprises verifying a connection to the target system, creating a pending version of a first new secret; updating the target system with the first new secret and promoting the pending version of the first new secret to a current secret at the secrets storage.

16 . The system of claim 15 , wherein the rotating the secret using the management API comprises:

generating a second new secret as a pending secret in the secrets storage;

updating the target system with the pending secret using the management API; and

switching a state of the second new secret from pending to active in the secrets storage.

17 . The system of claim 16 , wherein the target system is an autonomous database.

18 . The system of claim 15 , wherein the system is executed on a cloud infrastructure, the cloud infrastructure comprising a first virtual cloud network (VCN) comprising a local peering gateway (LPG) communicatively coupled to a secure shell (SSH) VCN via the LPG;

wherein the LPG is contained in a control plane VCN and the SSH VCN is communicatively coupled to a data plane VCN.

19 . The system of claim 15 , wherein the secret comprises one of a database password, identity username/password or a private key.

20 . The system of claim 15 , further comprising:

receiving a first account and a second account from a user, the first account and second account having identical permissions, the first account having a current version secret and the second account having a previous version secret;

storing the current version secret and the previous version secret at the secret storage corresponding to a same secret;

creating a pending version secret corresponding to the same secret; connecting to the target system using the previous version secret; and

updating the target system to use the pending version secret.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 17, 2023
From: RAJENDRAN, ARCHANA BABU; AGARWAL, HARSHIT; MISHRA, VISHAL; MOHAN, MAURUTHI GEETHA; BATHULA, KRANTHI KUMAR
To: ORACLE INTERNATIONAL CORPORATION
Reel/Frame 065247/0658 →
Continuity (1)
Related Publication 20250126114A1 · Apr 17, 2025
References Cited (34)
US 10162978B2 · Sun · 2018 [cited by examiner]
US 10313121B2 · Young · 2019 [cited by examiner]
US 10437968B2 · Hensgen · 2019 [cited by examiner]
US 11144513B1 · Padisetty · 2021 [cited by examiner]
US 11288359B1 · Caldwell · 2022 [cited by examiner]
US 11849037B1 · Tong · 2023 [cited by examiner]
US 12086233B2 · Khaund · 2024 [cited by examiner]
US 12158973B1 · Nilles · 2024 [cited by examiner]
US 20020161834A1 · Rescorla · 2002 [cited by examiner]
US 20130223696A1 · Azar · 2013 [cited by examiner]
US 20140136327A1 · Gopavarapu · 2014 [cited by examiner]
US 20170011213A1 · Cavanagh · 2017 [cited by examiner]
US 20170011214A1 · Cavanagh · 2017 [cited by examiner]
US 20180316676A1 · Gilpin · 2018 [cited by examiner]
US 20210058376A1 · Teissonniere · 2021 [cited by examiner]
US 20210195418A1 · Reid · 2021 [cited by examiner]
US 20210234835A1 · Chen · 2021 [cited by examiner]
US 20220086142A1 · Hecht · 2022 [cited by examiner]
US 20220286446A1 · Hecht · 2022 [cited by examiner]
US 20220318370A1 · Khaund · 2022 [cited by examiner]
US 20220321562A1 · Sholtis · 2022 [cited by examiner]
US 20220417241A1 · Zilbershtein · 2022 [cited by examiner]
US 20230056518A1 · Nie · 2023 [cited by examiner]
US 20230079608A1 · Chen et al. · 2023 [cited by applicant]
US 20240338471A1 · Agrawal · 2024 [cited by examiner]
US 20250007709A1 · Shelef · 2025 [cited by examiner]
WO 2020258105A1 · 2020 [cited by applicant]
Charles, “Store and Rotate API Keys with AWS Secrets Manager,” 33 pages, Mar. 17, 2019. [cited by applicant]
Unknown, “Automatically rotating secrets,” Product Guide, Secrets Manager,7 pages, May 12, 2023. [cited by applicant]
Unknown, “Client secret rotation and key management,” Okta Developer, 8 pages, May 30, 2023. [cited by applicant]
Unknown, “Handling KeyVault secret rotation changes utilized by an Azure Function,” Code Samples , Microsoft Learn 15 pages, Apr. 22, 2022. [cited by applicant]
Unknown, “Multi-user secrets rotation for Amazon RDS,” Data Integration Info, 16 pages, 2022. [cited by applicant]
Unknown, “Rotate AWS Secrets Manager secrets—AWS Secrets Manager,” Amazon.com, 3 pages, May 30, 2023. [cited by applicant]
Unknown, “Rotation tutorial for resources with two sets of credentials,” Microsoft Learn, 14 pages, Jan. 21, 2023. [cited by applicant]