Alert icon Keyboard navigation enabled.
Alert icon TAB or Shift+TAB to navigate across. Down ↓ to open menu. ESC to close menu.
Alert icon Down ↓ to select section. Right → to activate. Up ↑ / Down ↓ / Tab to traverse all. ESC to exit.
BeyondTrust
Skip to content Use space or enter to skip.

What can we help you find today?

Instant Results
  • Website Results
  • Technical Documentation

Filter Options

Focus your search

Filtering by

Your recent searches:

Contact Us Chat with Sales Get Support
  • English
  • Deutsch
  • français
  • español
  • 한국어
  • português
  • Home
  • Resources
  • Blog
  • Securing SQL Server v.Next with PowerBroker Password Safe API current page
Link copied

Securing SQL Server v.Next with PowerBroker Password Safe API

Nov 20, 2016
Author:
Mcannard
Martin Cannard
Blog banner default
Securing SQL Server v.Next with PowerBroker Password Safe API
Mcannard
Martin Cannard

Secure SQL Server v.Next

Many of you have heard the recent news that Microsoft is releasing SQL Server for the Linux and Docker platforms, which is available as a pre-release called SQL Server v.Next.

I am sure many IT and Security folks are celebrating Microsoft’s decision to embrace additional platforms. However, this new support presents users with additional security challenges.

For example, to install and run SQL Server v.Next on Docker, according to Microsoft’s directions, you would:

  1. Pull the Docker image from Docker Hub
  2. Run the Docker image using the following command
docker run –e 'ACCEPT_EULA=Y' –e 'SA_PASSWORD=<YourStrong!Passw0rd>' 
-p 1433:1433 -d microsoft/mssql-server-linux

Now the accepted practice to set credentials in the stateless container is to use environment variables. You can see this in the -e parameter 'SA_PASSWORD=<YourStrong!Passw0rd>'.

The big problem with this approach is that the SA credentials will appear in the bash history. Not only this, but the credentials will also show in the output of the ps command (used to list running applications). This effectively exposes the Super User account to any admin with access to the host machine.

Fortunately, there is a solution to this problem.

The PowerBroker Password Safe API can be leveraged within a Python wrapper that securely extracts the SA account password from Password Safe, and then runs the container using the Python Docker client.

This is just one example of using dynamic real-time substitution to replace hard-coded credentials. The additional benefit of this approach is that as soon as SQL Server is launched, the credentials may be automatically rotated to a new random value so any bash history values would be out of date. The next time the container is run, the API would simply pull down the latest password, launch, and then rotate the credentials as before.

BeyondTrust's PowerBroker Password Safe enables secure credential rotation/storage, advanced workflow control, auto-launch, and session recording for administrative sessions to most major database platforms. For true dual-control, PowerBroker Password Safe allows administrative activities to be monitored in real-time. Password Safe not only enables the remote termination of these sessions, but also has the ability to pause (or lock) a session that is already in progress.

With capabilities such as these from Password Safe, organizations can reduce risk of the unauthorized release of privileged credentials. If you would like to learn more about how Password Safe can help, request a personalized demo.

Latest Posts
  • The Most Common & Most Dangerous Types of Shadow IT
    Jun 5, 2026 The Most Common & Most Dangerous Types of Shadow IT
    Blog
    19m
  • 14 Password Management Best Practices
    May 28, 2026 14 Password Management Best Practices
    Blog
    12m
  • A Security Researcher’s Guide to Understanding Copilot Studio AI Agents
    May 26, 2026 A Security Researcher’s Guide to Understanding Copilot Studio AI Agents
    Blog
    3m
  • How to Secure Cloud-Native Infrastructure at Scale and Speed: A Conversation with Madhu Adireddi
    May 21, 2026 How to Secure Cloud-Native Infrastructure at Scale and Speed: A Conversation with Madhu Adireddi
    Blog
    5m
  • Cybersecurity as a Boardroom Priority for Major African TelCos
    May 12, 2026 Cybersecurity as a Boardroom Priority for Major African TelCos
    Blog
    8m
Related
  • Ten Reasons to be Optimistic About Cybersecurity
    Feb 28, 2018 Ten Reasons to be Optimistic About Cybersecurity
    Blog
    1m
  • Captain America, Federal Data Breaches, and IT Modernization
    Nov 28, 2016 Captain America, Federal Data Breaches, and IT Modernization
    Blog
    1m
Share this Article
  • Link
Stay up to Date
Get the latest news, ideas, and tactics from BeyondTrust. You may unsubscribe at any time.

Keep up with BeyondTrust

Customer Support Get Started
  • LinkedIn
  • X
  • Facebook
  • Instagram
  • Add BeyondTrust as a preferred source on Google
  • Privacy
  • Security
  • Manage Cookies
  • Do Not Sell My Data
  • WEEE Compliance

Copyright © 2003 — 2026 BeyondTrust Corporation. All rights reserved. Other trademarks identified on this page are owned by their respective owners. BeyondTrust Corporation is not a chartered bank or trust company, or depository institution. It is not authorized to accept deposits or trust accounts and is not licensed or regulated by any state or federal banking authority.

Prefers reduced motion setting detected. Animations will now be reduced as a result.