Securely automate scheduled file upload from Linux to Azure File share.

EnterpriseArchitect 6,301 Reputation points
2025-10-25T11:54:14.3033333+00:00

What is the best way to automate file transfer from a Linux box to a Azure File Share securely without using a SAS key ?

Because so far the PowerShell on each of the Linux host is using the embedded secrets (SAS Key) that is deemed insecure.

Azure Files
Azure Files
An Azure service that offers file shares in the cloud.
{count} votes

Answer accepted by question author
  1. Harish Peddapally 1,670 Reputation points Microsoft External Staff Moderator
    2025-11-04T07:21:05.4033333+00:00

    Hi EnterpriseArchitect,

    Good day, i hope you are doing great!

    Thank you for your follow-up about IBM AIX.

    The Azure CLI and Managed Identity approach applies only to supported Linux distributions and is not available on AIX, since Azure CLI binaries and the managed identity agent are not provided for that platform.

    for more info, please refer the below MS official links.

    Enable Kerberos authentication for Linux with Azure Files

    For secure automated uploads from AIX, consider using Active Directory (AD) authentication via SMB with Kerberos, which avoids storing or using SAS keys.

    Recommended Steps:

    1. Ensure the AIX SMB client (smbc.rte) and Kerberos libraries are installed.
    2. Join the AIX system to your AD domain and configure Kerberos with your domain and realm details.
    3. Verify authentication using kinit to obtain a Kerberos ticket.
    4. Mount the Azure File Share using SMB v3 with Kerberos authentication.
    5. Automate file transfers using rsync, cp, or shell scripts scheduled through cron

    I hope this helps. Please let me know if you have any further questions.

    Thanks,

    Harish.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.