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

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