Uploaded image for project: 'Red Hat 3scale API Management'
  1. Red Hat 3scale API Management
  2. THREESCALE-8002

Enable using secretKeyRef to specify APIcast policies configurations

    XMLWordPrintable

Details

    Description

      Currently it appears it is only possible to specify policy configurations for the capabilities CRDs as hardcoded text.

      The request is to enable configuring values from secrets similarly to the following example:

      apiVersion: capabilities.3scale.net/v1beta1
      kind: Product
      metadata:
        name: product1
      spec:
        name: "OperatedProduct 1"
        policies:
          - configuration:
              valueFrom:
                  secretKeyRef:
                    key: policy-config
                    name: introspection-config
            enabled: true
            name: token_introspection
            version: builtin
      

      Where a secret is used to populate the `configuration` of the APIcast token introspection policy.

      Attachments

        Activity

          People

            Unassigned Unassigned
            rhn-support-sillumin Samuele Illuminati
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: