File tree Expand file tree Collapse file tree 1 file changed +25
-2
lines changed
Expand file tree Collapse file tree 1 file changed +25
-2
lines changed Original file line number Diff line number Diff line change @@ -429,10 +429,14 @@ value of a internally defined value.
429429 - output
430430
431431
432- Random Input values
432+ Special Input values
433433^^^^^^^^^^^^^^^^^^^^
434434
435- The IM TOSCA parser supports the generation of random values for string inputs.
435+ The IM TOSCA parser supports the generation of some special values for string inputs.
436+
437+ Random values
438+ -------------
439+
436440The special string ``random(N) `` generates a random string of length N with
437441alphanumeric characters. It can be used to define passwords or any other random
438442string input value (from version 1.19.2).
@@ -446,3 +450,22 @@ string input value (from version 1.19.2).
446450 type : string
447451 description : Password for the App
448452 default : ' random(12)'
453+
454+
455+ Access Token
456+ -------------
457+
458+ The special string ``access_token() `` substitutes the function with the OIDC
459+ user access token sent in the authorization header sent in the IM call,
460+ in the `InfrastructureManager ` type element. If user/password has sent to
461+ authenticate with the IM, the string will be left unchanged.
462+
463+ .. code-block :: yaml
464+
465+ ...
466+
467+ inputs :
468+ user_access_token :
469+ type : string
470+ description : User OIDC Access Token
471+ default : ' access_token()'
You can’t perform that action at this time.
0 commit comments