mirror of
				https://github.com/optim-enterprises-bv/vault.git
				synced 2025-10-31 18:48:08 +00:00 
			
		
		
		
	Add type to documentation for create in token auth API (#6622)
* Add type to documentation for create in token auth API * Wrapped
This commit is contained in:
		 Brian Shumate
					Brian Shumate
				
			
				
					committed by
					
						 Calvin Leung Huang
						Calvin Leung Huang
					
				
			
			
				
	
			
			
			 Calvin Leung Huang
						Calvin Leung Huang
					
				
			
						parent
						
							0f1569b7f5
						
					
				
				
					commit
					580064670c
				
			| @@ -84,10 +84,12 @@ during this call. | |||||||
|   to be renewed past its initial TTL.  Setting the value to `true` will allow |   to be renewed past its initial TTL.  Setting the value to `true` will allow | ||||||
|   the token to be renewable up to the system/mount maximum TTL. |   the token to be renewable up to the system/mount maximum TTL. | ||||||
| - `lease` `(string: "")` - DEPRECATED; use `ttl` instead | - `lease` `(string: "")` - DEPRECATED; use `ttl` instead | ||||||
| - `ttl` `(string: "")`  -The TTL period of the token, provided as "1h", where | - `ttl` `(string: "")` - The TTL period of the token, provided as "1h", where | ||||||
|   hour is the largest suffix. If not provided, the token is valid for the |   hour is the largest suffix. If not provided, the token is valid for the | ||||||
|   [default lease TTL](/docs/configuration/index.html), or indefinitely if the |   [default lease TTL](/docs/configuration/index.html), or indefinitely if the | ||||||
|   root policy is used. |   root policy is used. | ||||||
|  | - `type` `(string: "")` - The token type. Can be "batch" or "service". Defaults | ||||||
|  |   to the type specified by the role configuration named by `role_name`. | ||||||
| - `explicit_max_ttl` `(string: "")` - If set, the token will have an explicit | - `explicit_max_ttl` `(string: "")` - If set, the token will have an explicit | ||||||
|   max TTL set upon it. This maximum token TTL *cannot* be changed later, and |   max TTL set upon it. This maximum token TTL *cannot* be changed later, and | ||||||
|   unlike with normal tokens, updates to the system/mount max TTL value will |   unlike with normal tokens, updates to the system/mount max TTL value will | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user