github.com/Axway/agent-sdk@v1.1.101/pkg/apic/apiserver/models/management/v1alpha1/model_webhook_spec_auth_secret.go (about)

     1  /*
     2   * API Server specification.
     3   *
     4   * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
     5   *
     6   * API version: SNAPSHOT
     7   * Generated by: OpenAPI Generator (https://openapi-generator.tech)
     8   */
     9  
    10  package management
    11  
    12  // WebhookSpecAuthSecret  (management.v1alpha1.Webhook)
    13  type WebhookSpecAuthSecret struct {
    14  	// Secret name to be used as a reference. If the secret is removed, the reference gets removed and the webhook invocation will be done with no Authorization header.
    15  	Name string `json:"name,omitempty"`
    16  	// Key to be used from the referenced secret.
    17  	Key string `json:"key,omitempty"`
    18  }