Skip to content

Latest commit

 

History

History
210 lines (159 loc) · 13.3 KB

security-context_schema.md

File metadata and controls

210 lines (159 loc) · 13.3 KB

WfExS-backend security context

Title: WfExS-backend security context

Type object
Required No
Additional properties [Not allowed]

Description: WfExS-backend security context file (EOSC-Life Demonstrator 7 JSON Schemas)

Property Pattern Type Deprecated Definition Title/Description
- ^[^:;]+$ Yes object No In #/definitions/SecContext Security context by name
- ^[a-z][a-z0-9+.-]:.$ Yes object No Same as pattern1 Security context by prefix

1. Pattern Property WfExS-backend security context > Security context by name

All properties whose name matches the regular expression ^[^:;]+$ (Test) must respect the following conditions

Title: Security context by name

Type combining
Required No
Additional properties [Any type: allowed]
Defined in #/definitions/SecContext
Property Pattern Type Deprecated Definition Title/Description
- method No enum (of string) No - -
- headers No object No - Custom headers to be used on the request
One of(Option)
item 0
item 1
item 2

1.1. Property WfExS-backend security context > ^[^:;]+$ > oneOf > item 0

Type object
Required No
Additional properties [Any type: allowed]
Property Pattern Type Deprecated Definition Title/Description
+ username No string No - The user name
+ password No string No - The user password associated to the username
- No object No - -

1.1.1. Property WfExS-backend security context > ^[^:;]+$ > oneOf > item 0 > username

Type string
Required Yes

Description: The user name

Restrictions
Min length 1

1.1.2. Property WfExS-backend security context > ^[^:;]+$ > oneOf > item 0 > password

Type string
Required Yes

Description: The user password associated to the username

Restrictions
Min length 0

1.2. Property WfExS-backend security context > ^[^:;]+$ > oneOf > item 1

Type object
Required No
Additional properties [Any type: allowed]
Property Pattern Type Deprecated Definition Title/Description
+ access_key No string No - -
+ secret_key No string No - -
- No object No - -

1.2.1. Property WfExS-backend security context > ^[^:;]+$ > oneOf > item 1 > access_key

Type string
Required Yes
Restrictions
Min length 1

1.2.2. Property WfExS-backend security context > ^[^:;]+$ > oneOf > item 1 > secret_key

Type string
Required Yes
Restrictions
Min length 1

1.3. Property WfExS-backend security context > ^[^:;]+$ > oneOf > item 2

Type object
Required No
Additional properties [Any type: allowed]
Property Pattern Type Deprecated Definition Title/Description
+ token No string No - The authentication token
- token_header No string No - On HTTP, the authentication token is used to fill-in an 'Authentication: Bearer ' header. Sometimes authentication through tokens require using custom headers, like it happens with SevenBridges
- No object No - -

1.3.1. Property WfExS-backend security context > ^[^:;]+$ > oneOf > item 2 > token

Type string
Required Yes

Description: The authentication token

Restrictions
Min length 1

1.3.2. Property WfExS-backend security context > ^[^:;]+$ > oneOf > item 2 > token_header

Type string
Required No

Description: On HTTP, the authentication token is used to fill-in an 'Authentication: Bearer ' header. Sometimes authentication through tokens require using custom headers, like it happens with SevenBridges

Restrictions
Min length 1

1.4. Property WfExS-backend security context > ^[^:;]+$ > method

Type enum (of string)
Required No
Default "GET"

Must be one of:

  • "GET"
  • "POST"

1.5. Property WfExS-backend security context > ^[^:;]+$ > headers

Type object
Required No
Additional properties [Any type: allowed]

Description: Custom headers to be used on the request

2. Pattern Property WfExS-backend security context > Security context by prefix

All properties whose name matches the regular expression ^[a-z][a-z0-9+.-]*:.*$ (Test) must respect the following conditions

Title: Security context by prefix

Type combining
Required No
Additional properties [Any type: allowed]
Same definition as pattern1

Generated using json-schema-for-humans on 2023-09-23 at 01:39:57 +0000