Blog

Latest Articles - Page 5

Browse the latest tutorials, guides, and practical examples across Linux, DevOps, security, databases, and programming on GoLinuxCloud.

Explore the latest tutorials and guides across Linux, DevOps, programming, and more.

You can also browse content by category below:

  • Linux: Commands, administration, troubleshooting, and system operations
  • DevOps: CI/CD, Kubernetes, containers, and automation
  • Cloud: AWS, Azure, OpenStack, and hybrid cloud administration
  • Programming: Coding tutorials, scripting, and development concepts
  • Security: Ethical hacking, system security, and best practices
  • Databases: MySQL, MariaDB, PostgreSQL, and database management
  • Networking: Network setup, troubleshooting, and protocols
  • Storage: Disk management, file systems, and storage solutions
  • Tools: Useful tools and utilities for productivity

3098 articles

Blog illustration with latest articles, tutorials, guides, and how-to content across Linux and DevOps topics
devops

Fix Keycloak SAML Invalid Signature Errors

Fix a Keycloak SAML invalid signature by comparing certificate fingerprints, checking whether the response or assertion was signed, and separating a stale key from an unsigned AuthnRequest.

Deepak Prasad15 min read
devops

Keycloak SP-Initiated vs IdP-Initiated SAML SSO

Compare a Keycloak SAML login that starts at the service provider with one that starts at the IdP-initiated client URL, including RelayState, InResponseTo, and the broker path that accepts an unsolicited response.

Deepak Prasad14 min read
devops

Fix Keycloak SAML Audience Errors

Keycloak rejects a SAML assertion when AudienceRestriction does not contain the service provider entity ID. Match the SAML client ID to that entity ID, and add an audience mapper only for an extra audience.

Deepak Prasad13 min read
devops

Decode Keycloak SAMLResponse and SAMLRequest on Linux

Decode a Keycloak SAMLResponse or SAMLRequest on Linux. HTTP-POST is Base64 XML. HTTP-Redirect is DEFLATE, then Base64, then URL encoding. Read Issuer, Destination, NameID, and Audience locally.

Deepak Prasad13 min read
devops

Migrate oauth2-proxy from ingress-nginx to Envoy Gateway

Move an existing oauth2-proxy login from ingress-nginx to Envoy Gateway, replace auth-url with a SecurityPolicy, and avoid the 202 response that does not admit the request.

Deepak Prasad12 min read
devops

Want a canary on Envoy Gateway? Weight the backends

Split requests between two app versions with HTTPRoute backend weights, map that ratio to ingress-nginx canary-weight, and roll the canary back to zero.

Deepak Prasad16 min read
devops

Fix Keycloak SAML ACS URL Errors

Keycloak shows Invalid redirect uri when a SAML AssertionConsumerServiceURL is not a Valid Redirect URI. Register the exact ACS, and use the POST binding or Master SAML Processing URL only when the request omits one.

Deepak Prasad14 min read
devops

Need HTTPS on Envoy Gateway? Use cert-manager + Let's Encrypt

See how cert-manager fills an Envoy Gateway TLS Secret with Let's Encrypt, why HTTP-01 needs port 80, and how to read the renewal time before the certificate expires.

Deepak Prasad16 min read
devops

Keycloak SAML NameID Configuration

Choose a Keycloak SAML NameID format and value, including email and a user attribute, and check the NameID element against what the service provider requested.

Deepak Prasad15 min read
devops

What Replaces rewrite-target in Envoy Gateway?

See how ingress2gateway handles rewrite-target and regex paths, why a capture group can arrive as the literal path /$2, when to use ReplacePrefixMatch, and how to preserve capture groups with an Envoy HTTPRouteFilter.

Deepak Prasad15 min read
devops

Map Keycloak Roles and Groups into SAML Assertions

Map a Keycloak realm role, a client role, and a group into an outgoing SAML assertion, then limit which names the service provider receives.

Deepak Prasad16 min read
devops

Moving Off ingress-nginx? Migrate to Envoy Gateway Safely

Keep ingress-nginx serving while you convert one hostname to a Gateway and HTTPRoutes, compare Envoy on its own address, and change DNS only after the paths match.

Deepak Prasad20 min read
devops

Keycloak SAML Attribute Mapper: Add User Attributes to Assertions

Add a Keycloak user attribute and email to an outgoing SAML assertion with a protocol mapper, then read the Attribute element in the response.

Deepak Prasad13 min read
devops

Keycloak SAML Metadata: IdP and SP Metadata URLs Explained

Download a Keycloak SAML IdP descriptor, read the entity ID, SSO URL, and signing certificate, then import it into a second realm and check the broker SP metadata.

Deepak Prasad13 min read
devops

Keycloak SAML SSO Tutorial: IdP, SP/Broker and Login Flow

Configure SAML SSO with one Keycloak realm as the IdP and a second realm as the SP/broker, then finish one SP-initiated login on Keycloak 26.8.0.

Deepak Prasad17 min read
devops

Manage Keycloak Users and Groups with SCIM

Provision Keycloak users and groups with the SCIM 2.0 API: create, search, update, deactivate, and delete accounts, including PATCH, filters, and an enterprise user attribute.

Deepak Prasad20 min read
devops

Fix Keycloak SCIM 401 Unauthorized and 403 Forbidden

Diagnose Keycloak SCIM 401 and 403 errors with curl: missing bearer tokens, invalid token audience, realm-management permissions, and protected admin resources.

Deepak Prasad18 min read
devops

Keycloak SCIM API: Enable and Authenticate with Client Credentials

Enable the Keycloak SCIM 2.0 API, configure a realm and service-account client, fix the token audience, and test SCIM endpoints with curl.

Deepak Prasad21 min read
cloud

Convert EBS gp2 to gp3 Without Downtime

Convert an attached EBS gp2 volume to gp3 online with modify-volume, monitor describe-volumes-modifications, tune gp3 IOPS and throughput, and verify the filesystem and data stay intact on RHEL 10.2 in ap-south-1.

Deepak Prasad10 min read
cloud

Fix AWS Session Manager TargetNotConnected Error

Why AWS Systems Manager Session Manager returns TargetNotConnected, how to confirm account and Region, read Fleet Manager ping status, verify the SSM agent and instance profile, check outbound HTTPS and VPC endpoints, …

Deepak Prasad13 min read
cloud

How to Protect S3 bucket with Basic Authentication

Step by step instructions to protect S3 website with basic authentication using AWS Lambda and Cloudfront

Mahnoor Malik6 min read
cloud

Fix "Not Authorized to Perform iam:PassRole" in AWS

Fix AWS AccessDenied for not authorized to perform iam PassRole when creating Lambda, ECS, or other resources that need an execution role. Identify the caller, add PassRole to the caller policy, restrict by role ARN and …

Deepak Prasad12 min read
cloud

AWS IAM Explicit Deny vs Implicit Deny

How AWS IAM explicit deny and implicit deny differ, what AccessDenied messages can reveal, and how to inspect identity-policy evaluation with simulate-principal-policy.

Deepak Prasad10 min read
cloud

Fix AWS STS AssumeRole AccessDenied

When sts:AssumeRole returns AccessDenied, check caller identity policy and the role trust policy together, read the CLI error, fix ExternalId or principal mismatches, and verify with get-caller-identity after a …

Deepak Prasad11 min read
cloud

Configure and Switch Between Multiple AWS CLI Profiles

Configure multiple AWS CLI named profiles for dev and prod accounts, switch with --profile or AWS_PROFILE, verify the active account with aws sts get-caller-identity, and avoid profile and credential precedence mistakes …

Deepak Prasad14 min read
cloud

How to Check Which Credentials AWS CLI Is Using

Check which credentials AWS CLI is using with aws configure list for credential source, sts get-caller-identity for the active account or role, environment and profile checks, and redacted debug provider lines on Linux …

Deepak Prasad16 min read
cloud

Fix AWS InvalidAccessKeyId: Access Key ID Does Not Exist

When AWS returns InvalidAccessKeyId or “The AWS Access Key Id you provided does not exist in our records,” use aws configure list and IAM list-access-keys to find stale credentials and rotate safely.

Deepak Prasad14 min read
cloud

Fix AWS CLI ExpiredToken

When AWS CLI returns ExpiredToken, temporary STS credentials passed their expiration — use aws configure list to find the source, refresh SSO, AssumeRole, or exported AWS_SESSION_TOKEN values, then confirm with sts …

Deepak Prasad12 min read
cloud

AWS CLI "SSL certificate verify failed"? Fix It

Fix AWS CLI SSL certificate verify failed by reading the TLS error, inspecting the certificate chain with openssl s_client, building a CA bundle with your corporate root, and configuring --ca-bundle, AWS_CA_BUNDLE, or …

Deepak Prasad12 min read
cloud

AWS CLI Unable to Locate Credentials? How to Fix It

Fix AWS CLI Unable to locate credentials by reading aws configure list, checking AWS_PROFILE and AWS environment variables, shared credential files, aws login, IAM Identity Center, and EC2 instance profile credentials on …

Deepak Prasad12 min read