github.com/kyma-incubator/compass/components/director@v0.0.0-20230623144113-d764f56ff805/examples/set-bundle-instance-auth/set-bundle-instance-auth.graphql (about)

     1  # Code generated by Compass integration tests, DO NOT EDIT.
     2  mutation {
     3    result: setBundleInstanceAuth(
     4      authID: "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa"
     5      in: {
     6        auth: {
     7          credential: { basic: { username: "admin", password: "secret" } }
     8          additionalHeadersSerialized: "{\"header-A\":[\"ha1\",\"ha2\"],\"header-B\":[\"hb1\",\"hb2\"]}"
     9          additionalQueryParamsSerialized: "{\"qA\":[\"qa1\",\"qa2\"],\"qB\":[\"qb1\",\"qb2\"]}"
    10        }
    11      }
    12    ) {
    13      id
    14      context
    15      inputParams
    16      auth {
    17        credential {
    18          ... on BasicCredentialData {
    19            username
    20            password
    21          }
    22          ... on CertificateOAuthCredentialData {
    23            clientId
    24            certificate
    25            url
    26          }
    27          ... on OAuthCredentialData {
    28            clientId
    29            clientSecret
    30            url
    31          }
    32        }
    33        oneTimeToken {
    34          __typename
    35          token
    36          used
    37          expiresAt
    38        }
    39        certCommonName
    40        accessStrategy
    41        additionalHeaders
    42        additionalQueryParams
    43        requestAuth {
    44          csrf {
    45            tokenEndpointURL
    46            credential {
    47              ... on BasicCredentialData {
    48                username
    49                password
    50              }
    51              ... on OAuthCredentialData {
    52                clientId
    53                clientSecret
    54                url
    55              }
    56              ... on CertificateOAuthCredentialData {
    57                clientId
    58                certificate
    59                url
    60              }
    61            }
    62            additionalHeaders
    63            additionalQueryParams
    64          }
    65        }
    66      }
    67      status {
    68        condition
    69        timestamp
    70        message
    71        reason
    72      }
    73      runtimeID
    74      runtimeContextID
    75    }
    76  }