Skip to content

Conversation

@btipling
Copy link
Contributor

@btipling btipling commented May 6, 2025

Summary

  • Add support for creating SQL Server logins from Windows AD accounts
  • Implement the AccountManager interface in userPrincipalSyncer
  • Add account creation schema with domain and username fields
  • Update baton_capabilities.json to include CREATE_ACCOUNT capability

Test plan

  • Verify account creation using the following command:
    • Run the connector with a SQL Server instance that supports Windows Authentication
    • Create an account using the connector with domain and username parameters
    • Verify the login was created in SQL Server using SELECT name FROM sys.server_principals WHERE type = 'U'

🤖 Generated with Claude Code

btipling and others added 5 commits May 6, 2025 13:55
This commit adds the ability to create SQL Server logins from Windows AD accounts:
- Add CreateWindowsLogin method to create SQL Server logins from Windows authentication
- Implement AccountManager interface in userPrincipalSyncer
- Update baton_capabilities.json to include CREATE_ACCOUNT capability
- Add account creation schema with domain and username fields
- Update SDK dependencies

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
Only create the Windows login without adding users to all databases.
Database access should be managed through ConductorOne's access request flow.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Add support for different login types: Windows, SQL Server, Azure AD, and Entra ID
- Use FROM EXTERNAL PROVIDER for Azure AD and Entra ID authentication
- Improve error handling and validation for different authentication types
- Refactor code to use switch statement for better organization

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Remove manual password field in favor of automatic generation
- Implement secure random password generator for SQL Server logins
- Return generated password as plaintext data
- Fix linting issues and improve code organization

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@btipling btipling force-pushed the BB-610-add-account-provisioning branch from 834f1b9 to 6fb1785 Compare May 6, 2025 22:33
@btipling btipling merged commit af1385a into main May 6, 2025
6 checks passed
@btipling btipling deleted the BB-610-add-account-provisioning branch May 6, 2025 22:45
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.

3 participants