Azure / Azure/azure-cli

AKS generated secret is too long for service connection creation (using service account)

Open
#21,924 6 comments 0 reactions 0 assignees View on GitHub
act-platform-engineering-squad Auto-Assign customer-reported DevOps needs-team-attention Service Attention
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

Azure Kubernetes Service generates a service account token that is too long to be used when creating a Kubernetes service connection using the service account as an authentication method.

I have tried both from the command line using and from the web portal to create the service connection but I still get the same outcome.

**The String length exceeds maximum limit. Parameter name: endpoint.Authorization.Parameters[apitoken]**

**Kubernetes version: 1.22.6**
**Azure Devops CLI extension version: 0.21.0**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.