Class AtlasDatabaseAccessEntry
- Namespace
- Quilt4Net.Toolkit.Features.ValueGroup
- Assembly
- Quilt4Net.Toolkit.dll
A MongoDB Atlas database user delivered as part of a ValueGroupBundle, read-only or
read-write per AccessMode. ConnectionString is the cluster's SRV
connection string with Username/Password already embedded — consumers
can pass it straight to a MongoClient. To revoke access, the team admin removes the
underlying access in the Quilt4Net.Server admin UI, which deletes the Atlas database user.
public record AtlasDatabaseAccessEntry : IEquatable<AtlasDatabaseAccessEntry>
- Inheritance
-
AtlasDatabaseAccessEntry
- Implements
- Inherited Members
Properties
AccessMode
Read-only or read-write. Serialized as a string ("ReadOnly"/"ReadWrite") on the wire.
[JsonConverter(typeof(JsonStringEnumConverter))]
public AtlasDatabaseAccessMode AccessMode { get; init; }
Property Value
ClusterName
public string ClusterName { get; init; }
Property Value
ConnectionString
SRV connection string with username:password embedded; ready to hand to a MongoClient.
public string ConnectionString { get; init; }
Property Value
Name
public string Name { get; init; }
Property Value
Password
public string Password { get; init; }
Property Value
Username
public string Username { get; init; }