Skip to content

Conversation

@armru
Copy link
Member

@armru armru commented Dec 16, 2025

Support the Azure SDK DefaultAzureCredential authentication flow, which allows
credential authentication through environment variables (AZURE_CLIENT_ID,
AZURE_TENANT_ID, AZURE_CLIENT_SECRET) and managed identities in AKS environments.

@armru armru requested a review from a team as a code owner December 16, 2025 16:02
Support the Azure SDK DefaultAzureCredential authentication flow, which allows
credential authentication through environment variables (AZURE_CLIENT_ID,
AZURE_TENANT_ID, AZURE_CLIENT_SECRET) and managed identities in AKS environments.

Signed-off-by: Armando Ruocco <armando.ruocco@enterprisedb.com>
Signed-off-by: Armando Ruocco <armando.ruocco@enterprisedb.com>
@armru armru force-pushed the dev/default-credentials-azure branch from c1c25b7 to c61e310 Compare December 16, 2025 16:14
- Split fadviseNotUsed function into platform-specific implementations
  - fadvise_linux.go: Linux-specific implementation using unix.Fadvise
  - fadvise_other.go: No-op implementation for non-Linux platforms
- Remove unused imports (os, path/filepath) from cmd.go
- Remove unix import from cmd.go as it's now only used in Linux-specific file
This resolves the issue where unix.Fadvise and unix.FADV_DONTNEED are not
available on macOS and other non-Linux platforms. The build tags ensure the
correct implementation is compiled for each target OS.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant