US 10673862
Token-based access tracking and revocation
Granted 2020-06-02 · Filed 2016-12-07 · Application 15/372,302 · Utility · Kind B1
- Assignee as printed
- Amazon Technologies, Inc., Seattle, WA (US)
- Inventors
- Richard Threlkeld, New York, NY (US)
- CPC, current
- H04L63/105; G06F21/31; G06F21/604; G06F21/62; H04L9/3242; H04L63/06; H04L63/061; H04L63/08; H04L63/20; G06F2221/2111
Abstract
One or more clients of a service may obtain access to resources of the service using one or more roles. A role may be used to delegate access to resources that a client normally would not otherwise have access to. A system of the service may be used to detect the occurrence of an event associated with a principal that has assumed a role to obtain a token that enables access to a computing resource. The system may prevent one or more principals from use of the token for future access to the resource, and may update permissions associated with the role to prevent one or more principals from assuming the role.
The claims as the USPTO long-text file prints them (text data version 20261117.3), split by PatentRef's claim parser (structure version 2): each claim's opening words, then one row for each element with its character offsets in the claim text, and the dependent claims under the claim they refer to. The split describes the text; it is not a reading of it. Each claim and each element has a link of its own. How the links are made.
Claim 1
Independent claim.
1. A system, comprising:
- Claim 1, element e1one or more processors and memory that stores computer-executable instructions that, as a result of being executed, cause the one or more processors to: 25–176
- Claim 1, element e2track use of tokens in attempts to access computing resources; 178–239
- Claim 1, element e3detect, as part of tracking the use of the tokens which has been obtained by one or more principals through role assumptions by the one or more principals, an event associated with a principal of the one or more principals that has assumed a second role to obtain a token that enabled the principal to use the token to exercise a second set of permissions associated with the second role to access a computing resource of the computing resources by at least: 241–698
- Claim 1, element e4obtaining, from the principal, a first request to assume a first role, 700–769
- Claim 1, element e5wherein a first set of permissions is used by the principal and further wherein the first set of permissions is sufficient for the principal to assume the first role and insufficient for the principal to assume the second role; 771–997
- Claim 1, element e6determining that assumption of the first role is authorized, 999–1058
- Claim 1, element e7wherein the assumption of the first role results in the principal relinquishing the first set of permissions; 1060–1168
- Claim 1, element e8providing, to the principal, a first token in response to the first request, the first token comprising a first expiration and a first indication of authorization to assume the first role; 1170–1357
- Claim 1, element e9contingent upon the principal assuming the first role, obtaining, from the principal, a second request to assume the second role, the second request comprising the first token; 1359–1534
- Claim 1, element e10determining, based at least in part on the first indication, that assumption of the second role by the principal is authorized; 1536–1662
- Claim 1, element e11contingent upon the second request being made by the principal under assumption of the first role, providing, to the principal, a second token in response to the second request, the second token comprising a second expiration and a second indication of authorization to access one or more computing resources by assuming the second role, 1664–2000
- Claim 1, element e12wherein the first token lacks indication of authorization to access the one or more computing resources by assuming the first role; and 2002–2132
- Claim 1, element e13providing authorization to access the computing resource of the computing resources; 2138–2221
- Claim 1, element e14determine that the event satisfies a revocation condition; 2223–2280
- Claim 1, element e15initiate a revocation routine that comprises: 2282–2326
- Claim 1, element e16invalidating the token by performing a key rotation to generate a cryptographic key that is used to determine a new token; and 2328–2449
- Claim 1, element e17updating a permission associated with the second role to prevent the principal from assuming the second role to obtain the new token to exercise the permission associated with the second role; 2455–2646
- Claim 1, element e18obtain a request to access the computing resource, the request including the token; and 2648–2730
- Claim 1, element e19deny the request to access the computing resource due at least in part to the token being invalidated.2736–2837
3 dependent claims: 2 to 4 (2, 3, 4 on claim 1)
Claim 2
Depends on claim 1.
2. The system of claim 1 ,
- Claim 2, element e1which further: 27–40
- Claim 2, element e2obtains, from the principal, a third request to obtain the new token; and 42–110
- Claim 2, element e3denies the third request to obtain the new token.116–164
Claim 3
Depends on claim 1.
3. The system of claim 1 , wherein
- Claim 3, element e1the revocation routine further comprises: 35–75
- Claim 3, element e2obtaining a list of principals with permission associated with the second role, 77–155
- Claim 3, element e3wherein the list excludes the principal; and 157–196
- Claim 3, element e4updating the permission associated with the second role to enable the list of principals to assume the second role to obtain the new token to exercise the permission associated with the second role.202–399
Claim 4
Depends on claim 1.
4. The system of claim 1 , wherein:
- Claim 4, element e1the token includes a hashed first message generated using a first cryptographic key, validity of the token being determinable based at least in part on the hashed first message; and 36–212
- Claim 4, element e2the new token includes a hashed second message generated using a second cryptographic key different from the first cryptographic key, validity of the new token being determinable based at least in part on the hashed second message.218–448
Claim 5
Independent claim.
5. A method, comprising:
- Claim 5, element e1monitoring one or more sessions associated with a second role, a session of the one or more sessions associated with a token which has been obtained by a principal through a previous assumption of a first role, that enables assumption of the second role by the principal, by at least: 25–308
- Claim 5, element e2obtaining, from the principal, a request to assume the second role, the request comprising a first token comprising an expiration time; 310–444
- Claim 5, element e3verifying, based at least in part on the first token, the first token is not expired and the principal has assumed the first role, where assumption of the first role comprises a first permission that enables assumption of the second role and the assumption of the second role is contingent on the assumption of the first role by the principal; and 446–788
- Claim 5, element e4providing, to the principal, a second token comprising a second permission that enables the principal to access a resource provided by a computing resource provider, 794–958
- Claim 5, element e5wherein the first token lacks the second permission and further wherein the principal uses a set of permissions sufficient to assume the first role and insufficient to assume the second role and further wherein the principal, as a result of assuming the first role, relinquishes the set of permissions; 960–1261
- Claim 5, element e6detecting an event associated with the principal that has submitted the request to assume the second role; 1263–1368
- Claim 5, element e7invalidating the token to prevent use of the token for future access to the resource; 1370–1454
- Claim 5, element e8updating a permission associated with the session to prohibit assumption of the second role by the principal; 1456–1564
- Claim 5, element e9generating a third token enabling access to the resource, the third token being obtainable by one or more other principals upon assuming the second role; and 1566–1718
- Claim 5, element e10providing the third token in connection to a second session of the one or more sessions.1724–1811
7 dependent claims: 6 to 12 (6, 11 on claim 5; 7, 8, 9, 10 on 6; 12 on 11)
Claim 6
Depends on claim 5.
6. The method of claim 5 , wherein
- Claim 6, element e1invalidating the token to prevent use of the token for future access to the resource further comprises determining to not associate the third token with the session of the one or more sessions.35–227
Claim 7
Depends on claim 6.
7. The method of claim 6 , further comprising:
- Claim 7, element e1determining the second session enables assumption of the second role by a second principal; and 47–137
- Claim 7, element e2determining to associate the third token to the second session.143–205
Claim 8
Depends on claim 6.
8. The method of claim 6 , further comprising:
- Claim 8, element e1obtaining a second request from the principal to obtain the third token; and 47–118
- Claim 8, element e2refusing to fulfill the second request.124–162
Claim 9
Depends on claim 6.
9. The method of claim 6 , wherein
- Claim 9, element e1generation of the third token is performed in a process that occurs asynchronously from detection of the event associated with the principal.35–175
Claim 10
Depends on claim 6.
10. The method of claim 6 , further comprising:
- Claim 10, element e1obtaining a second request from the principal to access the resource, the request including the token; 48–149
- Claim 10, element e2obtaining a hashed message included as part of the token; and 151–207
- Claim 10, element e3determining, using a cryptographic key used to generate a hashed second message included as part of the third token, that use of the token does not authorize fulfillment of the second request.213–404
Claim 11
Depends on claim 5.
11. The method of claim 5 , wherein
- Claim 11, element e1detecting the event further comprises: 36–73
- Claim 11, element e2determining a geolocation of the principal based at least in part on the request; and 75–155
- Claim 11, element e3determining the geolocation of the principal is different from an expected geolocation of the principal.161–264
Claim 12
Depends on claim 11.
12. The method of claim 11 , wherein
- Claim 12, element e1determining the expected geolocation of the principal includes using a device associated with the principal to perform a multi-factor authentication.37–185
Claim 13
Independent claim.
13. A non-transitory computer-readable storage medium comprising
- Claim 13, element e1executable instructions that, as a result of being executed by one or more processors of a computer system, cause the one or more processors to: 65–208
- Claim 13, element e2issue a first token as a result of a principal assuming a second role to obtain the first token by at least: 210–317
- Claim 13, element e3obtaining, from the principal, a request to assume a first role, 319–382
- Claim 13, element e4wherein the principal uses a set of permissions sufficient to assume the first role and insufficient to assume the second role and further wherein the principal relinquishes the set of permissions in order to assume the first role; 384–614
- Claim 13, element e5verifying that the principal is authorized to assume the first role; and 616–683
- Claim 13, element e6contingent upon the principal assuming the first role to obtain a second token accessible to the first role and inaccessible to the principal, providing the second token to the principal in response to the request, the second token including an expiration and enabling assumption of the second role, where assumption of the second role enables exercise of a first set of permissions for accessing a computing resource provided by a computing resource provider, 689–1148
- Claim 13, element e7wherein assumption of the first role enables exercise of a second set of permissions that lacks a permission of the first set of permissions for accessing the computing resource; 1150–1327
- Claim 13, element e8detect an event that satisfies a condition for revocation of the first token; 1329–1405
- Claim 13, element e9invalidate the first token; 1407–1433
- Claim 13, element e10update a permission to prevent assumption of the second role by the principal to obtain a new token comprising the first set of permissions for accessing the computing resource; and 1435–1611
- Claim 13, element e11provide the new token to a second principal that has assumed the second role.1617–1693
8 dependent claims: 14 to 20 (14, 15, 16, 18, 19 on claim 13; 17 on 16; 20, 20 on 19)
Claim 14
Depends on claim 13.
14. The non-transitory computer-readable storage medium of claim 13 , wherein
- Claim 14, element e1updating the permission to prevent assumption of the second role by the principal includes updating an association policy that allows the principal to assume the second role.78–251
Claim 15
Depends on claim 13.
15. The non-transitory computer-readable storage medium of claim 13 , wherein
- Claim 15, element e1invalidating the first token includes: 78–115
- Claim 15, element e2obtaining a list of principals able to assume the second role, the list including at least the principal, each entry of the list of principals being associated to the first token; and 117–295
- Claim 15, element e3for one or more principals of the list of principals, associating the one or more principals to the new token.301–410
Claim 16
Depends on claim 13.
16. The non-transitory computer-readable storage medium of claim 13 , wherein
- Claim 16, element e1the first token comprises a hashed first message generated using a first cryptographic key and the new token comprises a hashed second message signed by a different cryptographic key.78–260
Claim 17
Depends on claim 16.
17. The non-transitory computer-readable storage medium of claim 16 , wherein
- Claim 17, element e1the hashed first message is a first keyed-hash message authentication code and the hashed second message is a second keyed-hash message authentication code, both keyed-hash message authentication codes generated at least in part using a same one-way hash function.78–341
Claim 18
Depends on claim 13.
18. The non-transitory computer-readable storage medium of claim 13 , wherein:
- Claim 18, element e1assumption of the first role grants access to assume the second role and relinquishes access to different computing resources accessible to the principal; and 79–232
- Claim 18, element e2requests to assume the second role without assuming the first role are denied.238–315
Claim 19
Depends on claim 13.
19. The non-transitory computer-readable storage medium of claim 13 , wherein
- Claim 19, element e1updating the permission to prevent assumption of the second role by the principal includes creating a deny policy based on information obtained from the event associated with the principal.78–266
Claim 20
Depends on claim 19.
20. The non-transitory computer-readable storage medium of claim 19 , wherein
- Claim 20, element e1the deny policy associated with the deny policy prevents assumption of the second role by denying access to the second role for a range of IP addresses that includes an IP address associated with the event.78–283
Claim 20 (this number appears more than once in the data)
Depends on claim 19.
20. The non-transitory computer-readable storage medium of claim 19 , wherein
- Claim 20, element e1the deny policy associated with the deny policy prevents assumption of the second role by denying access to the second role for a range of IP addresses that includes an IP address associated with the event.78–283
1. A system, comprising: one or more processors and memory that stores computer-executable instructions that, as a result of being executed, cause the one or more processors to: track use of tokens in attempts to access computing resources; detect, as part of tracking the use of the tokens which has been obtained by one or more principals through role assumptions by the one or more principals, an event associated with a principal of the one or more principals that has assumed a second role to obtain a token that enabled the principal to use the token to exercise a second set of permissions associated with the second role to access a computing resource of the computing resources by at least: obtaining, from the principal, a first request to assume a first role, wherein a first set of permissions is used by the principal and further wherein the first set of permissions is sufficient for the principal to assume the first role and insufficient for the principal to assume the second role; determining that assumption of the first role is authorized, wherein the assumption of the first role results in the principal relinquishing the first set of permissions; providing, to the principal, a first token in response to the first request, the first token comprising a first expiration and a first indication of authorization to assume the first role; contingent upon the principal assuming the first role, obtaining, from the principal, a second request to assume the second role, the second request comprising the first token; determining, based at least in part on the first indication, that assumption of the second role by the principal is authorized; contingent upon the second request being made by the principal under assumption of the first role, providing, to the principal, a second token in response to the second request, the second token comprising a second expiration and a second indication of authorization to access one or more computing resources by assuming the second role, wherein the first token lacks indication of authorization to access the one or more computing resources by assuming the first role; and providing authorization to access the computing resource of the computing resources; determine that the event satisfies a revocation condition; initiate a revocation routine that comprises: invalidating the token by performing a key rotation to generate a cryptographic key that is used to determine a new token; and updating a permission associated with the second role to prevent the principal from assuming the second role to obtain the new token to exercise the permission associated with the second role; obtain a request to access the computing resource, the request including the token; and deny the request to access the computing resource due at least in part to the token being invalidated.
2. The system of claim 1 , which further: obtains, from the principal, a third request to obtain the new token; and denies the third request to obtain the new token.
3. The system of claim 1 , wherein the revocation routine further comprises: obtaining a list of principals with permission associated with the second role, wherein the list excludes the principal; and updating the permission associated with the second role to enable the list of principals to assume the second role to obtain the new token to exercise the permission associated with the second role.
4. The system of claim 1 , wherein: the token includes a hashed first message generated using a first cryptographic key, validity of the token being determinable based at least in part on the hashed first message; and the new token includes a hashed second message generated using a second cryptographic key different from the first cryptographic key, validity of the new token being determinable based at least in part on the hashed second message.
5. A method, comprising: monitoring one or more sessions associated with a second role, a session of the one or more sessions associated with a token which has been obtained by a principal through a previous assumption of a first role, that enables assumption of the second role by the principal, by at least: obtaining, from the principal, a request to assume the second role, the request comprising a first token comprising an expiration time; verifying, based at least in part on the first token, the first token is not expired and the principal has assumed the first role, where assumption of the first role comprises a first permission that enables assumption of the second role and the assumption of the second role is contingent on the assumption of the first role by the principal; and providing, to the principal, a second token comprising a second permission that enables the principal to access a resource provided by a computing resource provider, wherein the first token lacks the second permission and further wherein the principal uses a set of permissions sufficient to assume the first role and insufficient to assume the second role and further wherein the principal, as a result of assuming the first role, relinquishes the set of permissions; detecting an event associated with the principal that has submitted the request to assume the second role; invalidating the token to prevent use of the token for future access to the resource; updating a permission associated with the session to prohibit assumption of the second role by the principal; generating a third token enabling access to the resource, the third token being obtainable by one or more other principals upon assuming the second role; and providing the third token in connection to a second session of the one or more sessions.
6. The method of claim 5 , wherein invalidating the token to prevent use of the token for future access to the resource further comprises determining to not associate the third token with the session of the one or more sessions.
7. The method of claim 6 , further comprising: determining the second session enables assumption of the second role by a second principal; and determining to associate the third token to the second session.
8. The method of claim 6 , further comprising: obtaining a second request from the principal to obtain the third token; and refusing to fulfill the second request.
9. The method of claim 6 , wherein generation of the third token is performed in a process that occurs asynchronously from detection of the event associated with the principal.
10. The method of claim 6 , further comprising: obtaining a second request from the principal to access the resource, the request including the token; obtaining a hashed message included as part of the token; and determining, using a cryptographic key used to generate a hashed second message included as part of the third token, that use of the token does not authorize fulfillment of the second request.
11. The method of claim 5 , wherein detecting the event further comprises: determining a geolocation of the principal based at least in part on the request; and determining the geolocation of the principal is different from an expected geolocation of the principal.
12. The method of claim 11 , wherein determining the expected geolocation of the principal includes using a device associated with the principal to perform a multi-factor authentication.
13. A non-transitory computer-readable storage medium comprising executable instructions that, as a result of being executed by one or more processors of a computer system, cause the one or more processors to: issue a first token as a result of a principal assuming a second role to obtain the first token by at least: obtaining, from the principal, a request to assume a first role, wherein the principal uses a set of permissions sufficient to assume the first role and insufficient to assume the second role and further wherein the principal relinquishes the set of permissions in order to assume the first role; verifying that the principal is authorized to assume the first role; and contingent upon the principal assuming the first role to obtain a second token accessible to the first role and inaccessible to the principal, providing the second token to the principal in response to the request, the second token including an expiration and enabling assumption of the second role, where assumption of the second role enables exercise of a first set of permissions for accessing a computing resource provided by a computing resource provider, wherein assumption of the first role enables exercise of a second set of permissions that lacks a permission of the first set of permissions for accessing the computing resource; detect an event that satisfies a condition for revocation of the first token; invalidate the first token; update a permission to prevent assumption of the second role by the principal to obtain a new token comprising the first set of permissions for accessing the computing resource; and provide the new token to a second principal that has assumed the second role.
14. The non-transitory computer-readable storage medium of claim 13 , wherein updating the permission to prevent assumption of the second role by the principal includes updating an association policy that allows the principal to assume the second role.
15. The non-transitory computer-readable storage medium of claim 13 , wherein invalidating the first token includes: obtaining a list of principals able to assume the second role, the list including at least the principal, each entry of the list of principals being associated to the first token; and for one or more principals of the list of principals, associating the one or more principals to the new token.
16. The non-transitory computer-readable storage medium of claim 13 , wherein the first token comprises a hashed first message generated using a first cryptographic key and the new token comprises a hashed second message signed by a different cryptographic key.
17. The non-transitory computer-readable storage medium of claim 16 , wherein the hashed first message is a first keyed-hash message authentication code and the hashed second message is a second keyed-hash message authentication code, both keyed-hash message authentication codes generated at least in part using a same one-way hash function.
18. The non-transitory computer-readable storage medium of claim 13 , wherein: assumption of the first role grants access to assume the second role and relinquishes access to different computing resources accessible to the principal; and requests to assume the second role without assuming the first role are denied.
19. The non-transitory computer-readable storage medium of claim 13 , wherein updating the permission to prevent assumption of the second role by the principal includes creating a deny policy based on information obtained from the event associated with the principal.
20. The non-transitory computer-readable storage medium of claim 19 , wherein the deny policy associated with the deny policy prevents assumption of the second role by denying access to the second role for a range of IP addresses that includes an IP address associated with the event.
20. The non-transitory computer-readable storage medium of claim 19 , wherein the deny policy associated with the deny policy prevents assumption of the second role by denying access to the second role for a range of IP addresses that includes an IP address associated with the event.
The text of each claim as printed, for pasting a claim word for word. The links in the tree view name the same claims and elements.
Status
active
As of 2026-11-17, the USPTO record for US 10673862 shows no unresolved maintenance-fee lapse, and the term end computed from the dates in that record is 2037-02-25 (20 years from filing, plus 80 days of patent term adjustment), a date not yet passed (data version 20261117.2).
- Basis
- term_20y · pta_days:80 (20 years from filing, plus 80 days of patent term adjustment)
- Term end
- 2037-02-25 Computed from the dates in the USPTO record
- Fee lapse
- none on record
- Reinstatement
- none on record; reinstatement_possible: false, not lapsed
- As of
- 2026-11-17
- Data version
- 20261117.2
A fact about the record with its basis and its as-of date, not legal advice.
Citations
References cited on the grant: 4 US patent documents · Cited by: 51 US patents in this data · Lists through the API: /api/v1/patent/us_patent_citation/10673862/ (needs a free key, as the links under Get this as data)
Family outside the US
Google Patents Public Datasets lists no publication outside the US in this patent's family (read 2026-10-15).
This patent's family on USPTO Global Dossier
Family data from Google Patents Public Datasets, used under CC BY 4.0.
Record JSON
{
"patent_id": "10673862",
"status": "active",
"basis": [
"term_20y",
"pta_days:80"
],
"reinstatement_possible": false,
"reinstatement_basis": "not lapsed",
"expiry_date_estimated": "2037-02-25",
"lapse_date": null,
"reinstated_date": null,
"as_of": "2026-11-17",
"data_version": "20261117.2",
"catalog_data_version": "20261117.2",
"permalink": "https://patentref.io/p/10673862?v=20261117.2",
"next_steps": [
{
"kind": "record",
"url": "https://patentref.io/p/10673862?v=20261117.2",
"audience": "human"
},
{
"kind": "patent",
"url": "https://patentref.io/api/v1/patent/10673862/",
"audience": "agent"
},
{
"kind": "fee_events",
"tool": "uspto_patent_center",
"url": "https://patentcenter.uspto.gov/applications?patentNumber=10673862",
"audience": "agent"
}
]
}
Get this as data
- Full record
/api/v1/patent/10673862/ - Status record
/api/v1/lapse/status/10673862/ - Claim tree
/api/v1/structure/claims/10673862/ - Brief
/api/v1/structure/brief/10673862/
These four links need a free key (1,000 requests a month). Opened in a browser, which sends no key, they answer 403. Get a free key on the sign-up page, then send it in the X-Api-Key header. To see the shape of an answer without a key, open Try it.