US 10715514
Token-based credential renewal service
Granted 2020-07-14 · Filed 2016-12-07 · Application 15/372,315 · Utility · Kind B1
- Assignee as printed
- Amazon Technologies, Inc., Seattle, WA (US)
- Inventors
- Richard Threlkeld, New York, NY (US)
- CPC, current
- H04L63/0807; H04L63/083; H04L9/0891; H04L9/14; H04L9/3213; H04L9/3242; H04L63/06; H04L63/0846; H04L63/101; H04L63/107; H04L63/108; H04L63/20
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 principal normally would not otherwise have access to. Assuming a role may allow a principal to receive a token that provides access to resources according to permission associated with the role. Upon detecting an event in connection with the invalidation of a token associated with a role, a service may perform a workflow in connection with the principal.
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, if executed, cause the one or more processors to: 25–158
- Claim 1, element e2detect an event in connection with a second role that results in storage, in a token repository, of a currently-valid token associated with the second role that enables access to a computing resource in accordance with a first permission associated with the second role, the currently-valid token being obtainable by assuming the second role; 160–501
- Claim 1, element e3determine a plurality of principals that have each assumed the second role to obtain a previous token that enabled access to the computing resource in accordance with the first permission associated with the second role, 503–722
- Claim 1, element e4wherein a principal of the plurality of principals, without assuming the second role, lacks the first permission and the principal has assumed the second role by at least: 724–894
- Claim 1, element e5submitting a first request to assume a first role, 896–945
- Claim 1, element e6wherein 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; 947–1173
- Claim 1, element e7causing the system to determine that assumption of the first role is authorized, 1175–1254
- Claim 1, element e8wherein the assumption of the first role results in the principal relinquishing the first set of permissions; 1256–1364
- Claim 1, element e9receiving 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; 1366–1534
- Claim 1, element e10contingent upon assuming the first role, submitting a second request to assume the second role, the second request comprising the first token; 1536–1677
- Claim 1, element e11causing the system to determine, based at least in part on the first indication, that assumption of the second role by the principal is authorized; 1679–1825
- Claim 1, element e12contingent upon the second request being submitted under assumption of the first role, receiving 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, 1827–2132
- Claim 1, element e13wherein the first token lacks indication of authorization to access the one or more computing resources by assuming the first role; and 2134–2264
- Claim 1, element e14receiving authorization to access the computing resource; 2270–2326
- Claim 1, element e15determine, based at least in part on a condition stored in association with the principal, to provide the currently-valid token to the principal; 2328–2472
- Claim 1, element e16assume the second role to submit a request to obtain the currently-valid token from the token repository, the request configured to enable an authentication service to determine to fulfill the request due at least in part to the principal being associated with a second permission that allows obtaining the currently-valid token, 2474–2802
- Claim 1, element e17wherein assumption of the second role to submit the request results in relinquishing a second set of permissions associated with the principal and gaining at least the first permission; 2804–2988
- Claim 1, element e18obtain the currently-valid token in response to the request; and 2990–3049
- Claim 1, element e19provide the currently-valid token to the principal.3055–3105
3 dependent claims: 2 to 4 (2, 3, 4 on claim 1)
Claim 2
Depends on claim 1.
2. The system of claim 1 , wherein
- Claim 2, element e1the event includes a key rotation process that comprises generating the currently-valid token associated with the second role using at least a cryptographic key, the cryptographic key being different from a second cryptographic key used to generate the previous token associated with the second role.35–334
Claim 3
Depends on claim 1.
3. The system of claim 1 , wherein
- Claim 3, element e1the principal that assumed the second role is the first role, assumption of the first role being required prior to obtaining the previous token.35–178
Claim 4
Depends on claim 1.
4. The system of claim 1 , wherein
- Claim 4, element e1the system determines to provide the currently-valid token to the principal based on detecting that the previous token is invalid.35–164
Claim 5
Independent claim.
5. A computer-implemented method, comprising:
- Claim 5, element e1detecting an event in connection with a second role that results in generation of a first token that is associated with the second role, the second role being associated with a permission that is exercisable to access computing resources by providing the first token; 46–312
- Claim 5, element e2determining a principal from a plurality of principals that each have a permission to obtain the first token and that each have previously assumed the second role to obtain a previous token that had the permission that was exercisable to access the computing resources by providing the previous token, 314–614
- Claim 5, element e3wherein the principal further lacks the permission that is exercisable to access the computing resources by providing the first token and the principal previously assumed the second role by at least: 616–814
- Claim 5, element e4submitting a request to a service to assume the second role, the request comprising a second token comprising an expiration time; 816–944
- Claim 5, element e5causing the service to verify, based at least in part on the second token, that the second token is not expired and the principal has assumed a 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; and 946–1296
- Claim 5, element e6receiving, from the service, a third token comprising a second permission that enables the principal to access the computing resources, 1302–1436
- Claim 5, element e7wherein the second 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 the principal, as a result of assuming the first role, relinquishes the set of permissions; 1438–1724
- Claim 5, element e8determining satisfaction of a condition stored in association with the principal, 1726–1806
- Claim 5, element e9wherein satisfaction of the condition indicates the first token should be made available to the principal; 1808–1913
- Claim 5, element e10obtaining the first token at least in part by assuming the second role on behalf of the principal, 1915–2012
- Claim 5, element e11wherein assuming the second role results in relinquishing a first set of permissions associated with the principal and gaining a second set of permissions that comprises at least the permission that is exercisable to access the computing resources by providing the first token; and 2014–2290
- Claim 5, element e12making the first token available to the principal.2296–2345
7 dependent claims: 6 to 12 (6, 7, 8, 9, 10, 11, 12 on claim 5)
Claim 6
Depends on claim 5.
6. The method of claim 5 , wherein:
- Claim 6, element e1the first token comprises a hashed first message that includes a resource name identifier associated with the second role and a first expiration; and 36–180
- Claim 6, element e2the previous token comprises a hashed second message that includes the resource name identifier associated with the second role and a second expiration, the second expiration being earlier in time than the first expiration.186–408
Claim 7
Depends on claim 5.
7. The method of claim 5 , wherein:
- Claim 7, element e1the principal is a user; and 36–59
- Claim 7, element e2the plurality of principals that each have permission to obtain the first token and that each have previously assumed the second role to obtain the previous token that had the permission that was exercisable to access the computing resources by providing the previous token.65–338
Claim 8
Depends on claim 5.
8. The method of claim 5 , wherein
- Claim 8, element e1detecting the event further comprises: 35–72
- Claim 8, element e2determining a geolocation of the principal based at least in part a message from the principal; and 74–168
- Claim 8, element e3determining the geolocation of the principal is different from an expected geolocation of the principal.174–277
Claim 9
Depends on claim 5.
9. The method of claim 5 , wherein
- Claim 9, element e1the first token is made available by transmitting the first token to the principal using a message queue telemetry transport (MQTT) channel.35–174
Claim 10
Depends on claim 5.
10. The method of claim 5 , wherein
- Claim 10, element e1assuming the second role on behalf of the principal includes obtaining a security policy associated to the principal and determining the security policy includes one or more rights allowing assumption of the second role by the principal.36–272
Claim 11
Depends on claim 5.
11. The method of claim 5 , wherein:
- Claim 11, element e1the first token includes an expiration; 37–75
- Claim 11, element e2the event in connection with the second role that results in generation of the first token includes determining when a predetermined time before the expiration of the first token is; and 77–258
- Claim 11, element e3generation of the first token occurs prior to expiration of the first token.264–339
Claim 12
Depends on claim 5.
12. The method of claim 5 , wherein:
- Claim 12, element e1determining the principal previously assumed the second role includes determining that, prior to assuming the second role, the principal assumed the first role to obtain the second token enabling assumption of the second role; 37–262
- Claim 12, element e2assumption of the first role grants access to assume the second role and relinquishes access to different computing resources accessible to the principal; and 264–417
- Claim 12, element e3requests to assume the second role without assuming the first role are denied.423–500
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 e2record attainment of a first token as a result of a principal's assumption of a second role, 210–301
- Claim 13, element e3wherein the first token is also attainable by a plurality of principals different from the principal and the principal previously assumed the second role by at least: 303–468
- Claim 13, element e4submitting a request to a service to assume a first role, 470–526
- Claim 13, element e5wherein 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; 528–758
- Claim 13, element e6causing the service to verify that the principal is authorized to assume the first role; and 760–847
- Claim 13, element e7contingent upon assuming the first role to obtain a second token accessible to the first role and inaccessible to the principal, receiving the second token from the service 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 resource provided by a computing resource provider, 853–1288
- Claim 13, element e8wherein 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 resource; 1290–1457
- Claim 13, element e9detect an event associated with invalidation of the first token; 1459–1522
- Claim 13, element e10determine satisfaction of a condition stored in association with the principal that indicates a third token should be made available to the principal; and 1524–1673
- Claim 13, element e11assume the second role on behalf of the principal to obtain the third token associated with the second role, the third token being usable to exercise a second permission associated with the second role to access the resource, 1679–1903
- Claim 13, element e12wherein the executable instructions to assume the second role, as a result of being executed by the one or more processors of the computer system, cause the one or more processors to revoke the set of permissions used by the principal and grant at least the second permission.1905–2180
7 dependent claims: 14 to 20 (14, 16, 17, 18, 19, 20 on claim 13; 15 on 14)
Claim 14
Depends on claim 13.
14. The non-transitory computer-readable storage medium of claim 13 , wherein:
- Claim 14, element e1the instructions further comprise instructions that, as a result of being executed by the one or more processors, cause the computer system to store an association between the principal and the first token in a token repository; and 79–306
- Claim 14, element e2detecting the event associated with invalidation of the first token includes making a determination that the association between the principal and the first token in the token repository has changed.312–510
Claim 15
Depends on claim 14.
15. The non-transitory computer-readable storage medium of claim 14 , wherein:
- Claim 15, element e1the association between the principal and the first token is stored in a database entry; and 79–166
- Claim 15, element e2the determination that the association between the principal and the first token has changed includes determining that the database entry has been deleted or modified.172–338
Claim 16
Depends on claim 13.
16. The non-transitory computer-readable storage medium of claim 13 , wherein
- Claim 16, element e1assuming the second role on behalf of the principal includes determining assumption of the second role by the principal is authorized.78–211
Claim 17
Depends on claim 13.
17. The non-transitory computer-readable storage medium of claim 13 , wherein
- Claim 17, element e1the event associated with invalidation of the first token is a determination that the first token is invalid.78–186
Claim 18
Depends on claim 13.
18. The non-transitory computer-readable storage medium of claim 13 , wherein:
- Claim 18, element e1the first token includes a hashed first message generated at least in part using a first cryptographic key; 79–185
- Claim 18, element e2the third token includes a hashed second message generated at least in part using a second cryptographic key; and 187–295
- Claim 18, element e3the event associated with invalidation of the first token includes performing a key rotation to invalidate the first token.301–423
Claim 19
Depends on claim 13.
19. The non-transitory computer-readable storage medium of claim 13 , wherein:
- Claim 19, element e1the first token includes a first expiration; and 79–122
- Claim 19, element e2the instructions further comprise instructions that, as a result of being executed by the one or more processors, cause the computer system to make the third token available to the principal prior to the first expiration of the first token.128–367
Claim 20
Depends on claim 13.
20. The non-transitory computer-readable storage medium of claim 13 , wherein:
- Claim 20, element e1the event associated with invalidation of the first token includes determining a predetermined time before expiration of the first token; and 79–215
- Claim 20, element e2the third token associated with the second role includes an expiration interval that starts after a first expiration of the first token.221–356
1. A system, comprising: one or more processors and memory that stores computer-executable instructions that, if executed, cause the one or more processors to: detect an event in connection with a second role that results in storage, in a token repository, of a currently-valid token associated with the second role that enables access to a computing resource in accordance with a first permission associated with the second role, the currently-valid token being obtainable by assuming the second role; determine a plurality of principals that have each assumed the second role to obtain a previous token that enabled access to the computing resource in accordance with the first permission associated with the second role, wherein a principal of the plurality of principals, without assuming the second role, lacks the first permission and the principal has assumed the second role by at least: submitting 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; causing the system to determine 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; receiving 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 assuming the first role, submitting a second request to assume the second role, the second request comprising the first token; causing the system to determine, 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 submitted under assumption of the first role, receiving 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 receiving authorization to access the computing resource; determine, based at least in part on a condition stored in association with the principal, to provide the currently-valid token to the principal; assume the second role to submit a request to obtain the currently-valid token from the token repository, the request configured to enable an authentication service to determine to fulfill the request due at least in part to the principal being associated with a second permission that allows obtaining the currently-valid token, wherein assumption of the second role to submit the request results in relinquishing a second set of permissions associated with the principal and gaining at least the first permission; obtain the currently-valid token in response to the request; and provide the currently-valid token to the principal.
2. The system of claim 1 , wherein the event includes a key rotation process that comprises generating the currently-valid token associated with the second role using at least a cryptographic key, the cryptographic key being different from a second cryptographic key used to generate the previous token associated with the second role.
3. The system of claim 1 , wherein the principal that assumed the second role is the first role, assumption of the first role being required prior to obtaining the previous token.
4. The system of claim 1 , wherein the system determines to provide the currently-valid token to the principal based on detecting that the previous token is invalid.
5. A computer-implemented method, comprising: detecting an event in connection with a second role that results in generation of a first token that is associated with the second role, the second role being associated with a permission that is exercisable to access computing resources by providing the first token; determining a principal from a plurality of principals that each have a permission to obtain the first token and that each have previously assumed the second role to obtain a previous token that had the permission that was exercisable to access the computing resources by providing the previous token, wherein the principal further lacks the permission that is exercisable to access the computing resources by providing the first token and the principal previously assumed the second role by at least: submitting a request to a service to assume the second role, the request comprising a second token comprising an expiration time; causing the service to verify, based at least in part on the second token, that the second token is not expired and the principal has assumed a 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; and receiving, from the service, a third token comprising a second permission that enables the principal to access the computing resources, wherein the second 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 the principal, as a result of assuming the first role, relinquishes the set of permissions; determining satisfaction of a condition stored in association with the principal, wherein satisfaction of the condition indicates the first token should be made available to the principal; obtaining the first token at least in part by assuming the second role on behalf of the principal, wherein assuming the second role results in relinquishing a first set of permissions associated with the principal and gaining a second set of permissions that comprises at least the permission that is exercisable to access the computing resources by providing the first token; and making the first token available to the principal.
6. The method of claim 5 , wherein: the first token comprises a hashed first message that includes a resource name identifier associated with the second role and a first expiration; and the previous token comprises a hashed second message that includes the resource name identifier associated with the second role and a second expiration, the second expiration being earlier in time than the first expiration.
7. The method of claim 5 , wherein: the principal is a user; and the plurality of principals that each have permission to obtain the first token and that each have previously assumed the second role to obtain the previous token that had the permission that was exercisable to access the computing resources by providing the previous token.
8. The method of claim 5 , wherein detecting the event further comprises: determining a geolocation of the principal based at least in part a message from the principal; and determining the geolocation of the principal is different from an expected geolocation of the principal.
9. The method of claim 5 , wherein the first token is made available by transmitting the first token to the principal using a message queue telemetry transport (MQTT) channel.
10. The method of claim 5 , wherein assuming the second role on behalf of the principal includes obtaining a security policy associated to the principal and determining the security policy includes one or more rights allowing assumption of the second role by the principal.
11. The method of claim 5 , wherein: the first token includes an expiration; the event in connection with the second role that results in generation of the first token includes determining when a predetermined time before the expiration of the first token is; and generation of the first token occurs prior to expiration of the first token.
12. The method of claim 5 , wherein: determining the principal previously assumed the second role includes determining that, prior to assuming the second role, the principal assumed the first role to obtain the second token enabling assumption of the second role; 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.
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: record attainment of a first token as a result of a principal's assumption of a second role, wherein the first token is also attainable by a plurality of principals different from the principal and the principal previously assumed the second role by at least: submitting a request to a service 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; causing the service to verify that the principal is authorized to assume the first role; and contingent upon assuming the first role to obtain a second token accessible to the first role and inaccessible to the principal, receiving the second token from the service 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 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 resource; detect an event associated with invalidation of the first token; determine satisfaction of a condition stored in association with the principal that indicates a third token should be made available to the principal; and assume the second role on behalf of the principal to obtain the third token associated with the second role, the third token being usable to exercise a second permission associated with the second role to access the resource, wherein the executable instructions to assume the second role, as a result of being executed by the one or more processors of the computer system, cause the one or more processors to revoke the set of permissions used by the principal and grant at least the second permission.
14. The non-transitory computer-readable storage medium of claim 13 , wherein: the instructions further comprise instructions that, as a result of being executed by the one or more processors, cause the computer system to store an association between the principal and the first token in a token repository; and detecting the event associated with invalidation of the first token includes making a determination that the association between the principal and the first token in the token repository has changed.
15. The non-transitory computer-readable storage medium of claim 14 , wherein: the association between the principal and the first token is stored in a database entry; and the determination that the association between the principal and the first token has changed includes determining that the database entry has been deleted or modified.
16. The non-transitory computer-readable storage medium of claim 13 , wherein assuming the second role on behalf of the principal includes determining assumption of the second role by the principal is authorized.
17. The non-transitory computer-readable storage medium of claim 13 , wherein the event associated with invalidation of the first token is a determination that the first token is invalid.
18. The non-transitory computer-readable storage medium of claim 13 , wherein: the first token includes a hashed first message generated at least in part using a first cryptographic key; the third token includes a hashed second message generated at least in part using a second cryptographic key; and the event associated with invalidation of the first token includes performing a key rotation to invalidate the first token.
19. The non-transitory computer-readable storage medium of claim 13 , wherein: the first token includes a first expiration; and the instructions further comprise instructions that, as a result of being executed by the one or more processors, cause the computer system to make the third token available to the principal prior to the first expiration of the first token.
20. The non-transitory computer-readable storage medium of claim 13 , wherein: the event associated with invalidation of the first token includes determining a predetermined time before expiration of the first token; and the third token associated with the second role includes an expiration interval that starts after a first expiration of the first token.
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 10715514 shows no unresolved maintenance-fee lapse, and the term end computed from the dates in that record is 2037-03-24 (20 years from filing, plus 107 days of patent term adjustment), a date not yet passed (data version 20261117.2).
- Basis
- term_20y · pta_days:107 (20 years from filing, plus 107 days of patent term adjustment)
- Term end
- 2037-03-24 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: 5 US patent documents · Cited by: 55 US patents in this data · Lists through the API: /api/v1/patent/us_patent_citation/10715514/ (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": "10715514",
"status": "active",
"basis": [
"term_20y",
"pta_days:107"
],
"reinstatement_possible": false,
"reinstatement_basis": "not lapsed",
"expiry_date_estimated": "2037-03-24",
"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/10715514?v=20261117.2",
"next_steps": [
{
"kind": "record",
"url": "https://patentref.io/p/10715514?v=20261117.2",
"audience": "human"
},
{
"kind": "patent",
"url": "https://patentref.io/api/v1/patent/10715514/",
"audience": "agent"
},
{
"kind": "fee_events",
"tool": "uspto_patent_center",
"url": "https://patentcenter.uspto.gov/applications?patentNumber=10715514",
"audience": "agent"
}
]
}
Get this as data
- Full record
/api/v1/patent/10715514/ - Status record
/api/v1/lapse/status/10715514/ - Claim tree
/api/v1/structure/claims/10715514/ - Brief
/api/v1/structure/brief/10715514/
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.