create Core V1Namespaced Secret

POST {{baseUrl}}/api/v1/namespaces/:namespace/secrets?dryRun=nulla&fieldManager=nulla&pretty=nulla

create a Secret

Request Params

KeyDatatypeRequiredDescription
dryRunstringWhen present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
fieldManagerstringfieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.
prettystringIf 'true', then the output is pretty printed.

Request Body

{"apiVersion"=>"Lorem ut laboris esse", "immutable"=>true, "kind"=>"ut", "metadata"=>{"annotations"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "clusterName"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "creationTimestamp"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "deletionGracePeriodSeconds"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "deletionTimestamp"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "finalizers"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "generateName"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "generation"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "labels"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "managedFields"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "name"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "namespace"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "ownerReferences"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "resourceVersion"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "selfLink"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "uid"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, "type"=>"occaecat velit"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: Created

{&quot;apiVersion&quot;:&quot;Lorem ut laboris esse&quot;,&quot;data&quot;:{},&quot;immutable&quot;:true,&quot;kind&quot;:&quot;ut&quot;,&quot;metadata&quot;:{&quot;annotations&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;clusterName&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;creationTimestamp&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;deletionGracePeriodSeconds&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;deletionTimestamp&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;finalizers&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;generateName&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;generation&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;labels&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;managedFields&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;name&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;namespace&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;ownerReferences&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;resourceVersion&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;selfLink&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;uid&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}},&quot;stringData&quot;:{},&quot;type&quot;:&quot;occaecat velit&quot;}