wso2 / apk

Official Repository for APK distribution
Apache License 2.0
153 stars 90 forks source link

Complete API Key functionality #2399

Open sgayangi opened 2 months ago

sgayangi commented 2 months ago

Description

The API Key functionality was partially completed with PR https://github.com/wso2/apk/pull/2323 and needs to be tested and documented.

Affected Component

Config-DS

Version

1.1.0

Related Issues

https://github.com/wso2/apk/issues/2324

Suggested Labels

No response

sgayangi commented 1 month ago

Changes to Authentication CR:

apiVersion: dp.wso2.com/v1alpha2
kind: Authentication
metadata:
  name: 5550d7c7b57a54749585ee08df0dcb9071186e50-production-authentication
  namespace: apk
  ownerReferences:
  - apiVersion: dp.wso2.com/v1alpha2
    kind: API
    name: 5550d7c7b57a54749585ee08df0dcb9071186e50
    uid: b52360ac-1d2e-4b72-a019-76813010a6cc
spec:
  default:
    authTypes:
      apiKey:
        keys:
        - in: Header
          name: ApiKey
        required: mandatory
    disabled: false
  targetRef:
    group: gateway.networking.k8s.io
    kind: API
    name: 5550d7c7b57a54749585ee08df0dcb9071186e50